Package jadex.base
Class RemoteJarFile
- java.lang.Object
 - 
- jadex.bridge.service.types.filetransfer.FileData
 - 
- jadex.base.RemoteJarFile
 
 
 
- 
public class RemoteJarFile extends FileData
The remote jar file. 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected java.util.Map<java.lang.String,java.util.Collection<FileData>>jarentriesThe map of jar entries.protected java.lang.StringrelativepathThe relative path inside of the jar file.- 
Fields inherited from class jadex.bridge.service.types.filetransfer.FileData
directory, displayname, exists, filename, filesize, lastmodified, path, prefix, separator 
 - 
 
- 
Constructor Summary
Constructors Constructor 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. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Map<java.lang.String,java.util.Collection<FileData>>getJarEntries()Get the jarentries.java.lang.StringgetPathName()Get path name.java.lang.StringgetRelativePath()Get the relativepath.booleanisResolved()Test if the jar is already resolved, ie.java.util.Collection<FileData>listFiles()List the files.voidsetJarEntries(java.util.Map<java.lang.String,java.util.Collection<FileData>> jarentries)Set the jarentries.voidsetRelativePath(java.lang.String relativepath)Set the relativepath.- 
Methods inherited from class jadex.bridge.service.types.filetransfer.FileData
convertToRemoteFiles, getDisplayName, getDisplayName, getFilename, getFileSize, getLastModified, getPath, getPrefixLength, getSeparatorChar, isDirectory, isExists, setDirectory, setDisplayName, setExists, setFilename, setFileSize, setLastModified, setPath, setPrefixLength, setSeparatorChar, toString 
 - 
 
 - 
 
- 
- 
Field Detail
- 
jarentries
protected java.util.Map<java.lang.String,java.util.Collection<FileData>> jarentries
The map of jar entries. 
- 
relativepath
protected java.lang.String relativepath
The relative path inside of the jar file. 
 - 
 
- 
Constructor Detail
- 
RemoteJarFile
public RemoteJarFile()
Create a remote jar file. 
- 
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)Create a remote jar file. 
 - 
 
- 
Method Detail
- 
listFiles
public java.util.Collection<FileData> listFiles()
List the files.- Returns:
 - The collection of files.
 
 
- 
getJarEntries
public java.util.Map<java.lang.String,java.util.Collection<FileData>> getJarEntries()
Get the jarentries.- Returns:
 - the jarentries.
 
 
- 
setJarEntries
public void setJarEntries(java.util.Map<java.lang.String,java.util.Collection<FileData>> jarentries)
Set the jarentries.- Parameters:
 jarentries- The jarentries to set.
 
- 
getRelativePath
public java.lang.String getRelativePath()
Get the relativepath.- Returns:
 - the relativepath.
 
 
- 
setRelativePath
public void setRelativePath(java.lang.String relativepath)
Set the relativepath.- Parameters:
 relativepath- The relativepath to set.
 
- 
getPathName
public java.lang.String getPathName()
Get path name. 
- 
isResolved
public boolean isResolved()
Test if the jar is already resolved, ie. remote call has been performed. 
 - 
 
 -