Class ContainerHandleURI

java.lang.Object
org.spongepowered.asm.launch.platform.container.ContainerHandleURI
All Implemented Interfaces:
IContainerHandle

public class ContainerHandleURI extends Object implements IContainerHandle
Container handle which directly replaces the use of classpath location URIs from previous mixin versions
  • Constructor Details

    • ContainerHandleURI

      public ContainerHandleURI(URI uri)
  • Method Details

    • getURI

      public URI getURI()
      Get the URI for this handle
    • getFile

      @Deprecated public File getFile()
      Deprecated.
      Get the container file
    • getAttribute

      public String getAttribute(String name)
      Description copied from interface: IContainerHandle
      Retrieve the value of attribute with the specified name, or null if not present
      Specified by:
      getAttribute in interface IContainerHandle
      Parameters:
      name - attribute name
      Returns:
      attribute value or null if not present
    • getNestedContainers

      public Collection<IContainerHandle> getNestedContainers()
      Description copied from interface: IContainerHandle
      Get nested containers from this container, allows a container to detect and return containers within itself. For example a folder container detecting and returning file containers, or a virtual container returning real containers after a scan.
      Specified by:
      getNestedContainers in interface IContainerHandle
    • equals

      public boolean equals(Object other)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object