Class ContainerHandleURI
java.lang.Object
org.spongepowered.asm.launch.platform.container.ContainerHandleURI
- All Implemented Interfaces:
IContainerHandle,IMixinConfigSource
Container handle which directly replaces the use of classpath location URIs
from previous mixin versions
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleangetAttribute(String name) Retrieve the value of attribute with the specified name, or null if not presentPlain text description of the config source, can be as descriptive as necessary to help the user identify the source, for example could be the full path to the source item, or something more descriptive.getFile()Deprecated.getId()Get the identifier for this sourceGet nested containers from this container, allows a container to detect and return containers within itself.getURI()Get the URI for this handleinthashCode()toString()
-
Constructor Details
-
ContainerHandleURI
-
-
Method Details
-
getId
Description copied from interface:IMixinConfigSourceGet the identifier for this source- Specified by:
getIdin interfaceIMixinConfigSource
-
getDescription
Description copied from interface:IMixinConfigSourcePlain text description of the config source, can be as descriptive as necessary to help the user identify the source, for example could be the full path to the source item, or something more descriptive.- Specified by:
getDescriptionin interfaceIMixinConfigSource
-
getURI
Get the URI for this handle -
getFile
Deprecated.Get the container file -
getAttribute
Description copied from interface:IContainerHandleRetrieve the value of attribute with the specified name, or null if not present- Specified by:
getAttributein interfaceIContainerHandle- Parameters:
name- attribute name- Returns:
- attribute value or null if not present
-
getNestedContainers
Description copied from interface:IContainerHandleGet 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:
getNestedContainersin interfaceIContainerHandle
-
equals
-
hashCode
public int hashCode() -
toString
-