public class RemoteJarFile extends FileData
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.String,java.util.Collection<FileData>> |
jarentries
The map of jar entries.
|
protected java.lang.String |
relativepath
The relative path inside of the jar file.
|
directory, displayname, exists, filename, filesize, lastmodified, path, prefix, separator
Constructor and Description |
---|
RemoteJarFile()
Create a remote jar file.
|
RemoteJarFile(java.lang.String filename,
java.lang.String path,
boolean directory,
java.lang.String displayname,
java.util.Map<java.lang.String,java.util.Collection<FileData>> jarentries,
java.lang.String relativepath,
long lastmodified,
char separator,
int prefix,
long size)
Create a remote jar file.
|
Modifier and Type | Method and Description |
---|---|
java.util.Map<java.lang.String,java.util.Collection<FileData>> |
getJarEntries()
Get the jarentries.
|
java.lang.String |
getPathName()
Get path name.
|
java.lang.String |
getRelativePath()
Get the relativepath.
|
boolean |
isResolved()
Test if the jar is already resolved, ie.
|
java.util.Collection<FileData> |
listFiles()
List the files.
|
void |
setJarEntries(java.util.Map<java.lang.String,java.util.Collection<FileData>> jarentries)
Set the jarentries.
|
void |
setRelativePath(java.lang.String relativepath)
Set the relativepath.
|
convertToRemoteFiles, getDisplayName, getDisplayName, getFilename, getFileSize, getLastModified, getPath, getPrefixLength, getSeparatorChar, isDirectory, isExists, setDirectory, setDisplayName, setExists, setFilename, setFileSize, setLastModified, setPath, setPrefixLength, setSeparatorChar, toString
protected java.util.Map<java.lang.String,java.util.Collection<FileData>> jarentries
protected java.lang.String relativepath
public RemoteJarFile()
public RemoteJarFile(java.lang.String filename, java.lang.String path, boolean directory, java.lang.String displayname, java.util.Map<java.lang.String,java.util.Collection<FileData>> jarentries, java.lang.String relativepath, long lastmodified, char separator, int prefix, long size)
public java.util.Collection<FileData> listFiles()
public java.util.Map<java.lang.String,java.util.Collection<FileData>> getJarEntries()
public void setJarEntries(java.util.Map<java.lang.String,java.util.Collection<FileData>> jarentries)
jarentries
- The jarentries to set.public java.lang.String getRelativePath()
public void setRelativePath(java.lang.String relativepath)
relativepath
- The relativepath to set.public java.lang.String getPathName()
public boolean isResolved()