public class PrefixedNut extends NutWrapper
 This class wraps a Nut that should be named with a particular prefix. The prefix could be
 a path or not.
 
| Constructor and Description | 
|---|
PrefixedNut(ConvertibleNut nut,
           String prefixPath)
 Builds a new instance. 
 | 
PrefixedNut(ConvertibleNut nut,
           String prefix,
           Boolean asPath)
 Builds a new instance. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getName()
 Returns the name potentially altered by other components like transformers. 
 | 
addReferencedNut, addTransformer, getNutType, getOriginalNuts, getReadyCallbacks, getReferencedNuts, getTransformers, isCompressed, isDynamic, isSubResource, isTransformed, onReady, openStream, setIsCompressed, setIsSubResource, setNutName, setNutType, transformequals, getInitialName, getInitialNutType, getParentFile, getProxyUri, getVersionNumber, hashCode, setProxyUri, setVersionNumber, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetInitialName, getInitialNutType, getParentFile, getProxyUri, getVersionNumber, setProxyUripublic PrefixedNut(ConvertibleNut nut, String prefix, Boolean asPath)
Builds a new instance.
nut - the nut to wrapprefix - the prefixasPath - if the prefix is a pathpublic PrefixedNut(ConvertibleNut nut, String prefixPath)
Builds a new instance.
nut - the nut to wrapprefixPath - the prefix pathpublic String getName()
Returns the name potentially altered by other components like transformers.
getName in interface ConvertibleNutgetName in class NutWrapperCopyright © 2012-2015. All Rights Reserved.