Class IvyModuleWriter

  • All Implemented Interfaces:
    java.lang.AutoCloseable

    public final class IvyModuleWriter
    extends java.lang.Object
    implements java.lang.AutoCloseable
    • Field Detail

      • PROPERTY_JAVA_VERSION

        public static final java.lang.String PROPERTY_JAVA_VERSION
        An extra property, optional, that indicates the Java version a certain Minecraft version was built against.
        See Also:
        Constant Field Values
      • PROPERTY_MOJANG_STATUS

        public static final java.lang.String PROPERTY_MOJANG_STATUS
        The actual status provided for the artifact in Mojang metadata.
        See Also:
        Constant Field Values
    • Constructor Detail

      • IvyModuleWriter

        public IvyModuleWriter​(java.io.Writer output)
                        throws javax.xml.stream.XMLStreamException
        Throws:
        javax.xml.stream.XMLStreamException
      • IvyModuleWriter

        public IvyModuleWriter​(java.nio.file.Path target)
                        throws java.io.IOException,
                               javax.xml.stream.XMLStreamException
        Throws:
        java.io.IOException
        javax.xml.stream.XMLStreamException
    • Method Detail

      • overrideArtifactId

        public IvyModuleWriter overrideArtifactId​(java.lang.String artifactId)
      • close

        public void close()
                   throws java.io.IOException,
                          javax.xml.stream.XMLStreamException
        Specified by:
        close in interface java.lang.AutoCloseable
        Throws:
        java.io.IOException
        javax.xml.stream.XMLStreamException