@Immutable
public final class MappedFileSet
extends java.lang.Object
Constructor and Description |
---|
MappedFileSet(java.io.File rootFile,
IMFErrorLogger imfErrorLogger)
Constructor for a MappedFileSet object from a file representing the root of a directory tree
|
Modifier and Type | Method and Description |
---|---|
AssetMap |
getAssetMap()
Getter for the
AssetMap object that represents the single AssetMap document
corresponding to this Mapped File Set |
java.net.URI |
getAssetMapURI()
Getter for the file-based URI corresponding to the
AssetMap object associated with
this Mapped File Set |
public MappedFileSet(java.io.File rootFile, @Nullable IMFErrorLogger imfErrorLogger) throws java.io.IOException, org.xml.sax.SAXException, javax.xml.bind.JAXBException, java.net.URISyntaxException
rootFile
- the directory which serves as the tree root of the Mapped File SetimfErrorLogger
- an error logger for recording any errors - can be nullorg.xml.sax.SAXException
- - forwarded from AssetMap
constructorjava.io.IOException
- - forwarded from AssetMap
constructorjavax.xml.bind.JAXBException
- - forwarded from AssetMap
constructorjava.net.URISyntaxException
- - forwarded from AssetMap
constructorpublic AssetMap getAssetMap()
AssetMap
object that represents the single AssetMap document
corresponding to this Mapped File Setpublic java.net.URI getAssetMapURI()
AssetMap
object associated with
this Mapped File Set