public class ArtisynthFileManager extends FileManager
FileManager
that by default looks for files in
the ArtiSynth source directory tree. The main
purpose is to easily get file handles from within
zip files using the {FileManager.getInputStream(String)
function.CHECK_HASH, DEFAULT_LOG_LEVEL, DEFAULT_LOGGER, DEFAULT_OPTIONS, DOWNLOAD_ZIP, exceptionStack, FORCE_REMOTE, myOptions
Constructor and Description |
---|
ArtisynthFileManager(java.io.File zipFile,
java.lang.String subpath)
Constructs a
FileManager object for reading from zip
files |
ArtisynthFileManager(java.lang.Object obj,
java.lang.String relPathOrZip)
Creates a
FileManager object that looks for files
in the source tree. |
ArtisynthFileManager(java.lang.Object obj,
java.lang.String relPathOrZip,
java.lang.String subpath)
Creates a
FileManager object that looks for files
in the source tree. |
addIdentityRepository, addTransferListener, addUserAuthenticator, clearExceptions, closeStreams, determineDefaultDestination, equalsHash, equalsHash, equalsHash, fileExists, get, get, get, get, get, get, get, getAbsoluteDestFile, getAbsoluteDestFile, getAbsoluteSourceURI, getAbsoluteSourceURI, getConsoleProgressPrinting, getDownloadDir, getExceptions, getInputStream, getInputStream, getInputStream, getInputStream, getInputStream, getInputStream, getInputStream, getLastException, getLastFile, getLocal, getLocal, getLocalHash, getLocalHash, getLogger, getOptions, getRemote, getRemote, getRemote, getRemote, getRemoteHash, getRemoteHash, getRemoteSource, getStaticManager, getTransferListeners, getTransferMonitor, hasExceptions, put, put, put, put, put, put, putRemote, removeTransferListener, setConsoleProgressPrinting, setDownloadDir, setDownloadDir, setLogger, setMonitorSleep, setOptions, setRemoteSource, setRemoteSource, setStaticManager, setTransferMonitor, setVerbosityLevel, staticGet, staticGet, staticGet, staticGet, wasLastRemote
public ArtisynthFileManager(java.lang.Object obj, java.lang.String relPathOrZip)
FileManager
object that looks for files
in the source tree.obj
- object associated with source directoryrelPathOrZip
- either a relative path to read files
from, or a zip filepublic ArtisynthFileManager(java.lang.Object obj, java.lang.String relPathOrZip, java.lang.String subpath)
FileManager
object that looks for files
in the source tree.obj
- object associated with source directoryrelPathOrZip
- either a relative path to read files
from, or a zip filesubpath
- An additional path to be appended, for instance
within a provided zip filepublic ArtisynthFileManager(java.io.File zipFile, java.lang.String subpath)
FileManager
object for reading from zip
fileszipFile
- the file from which to extract datasubpath
- sub folder within the zip file to use by default