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 SummaryFields 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.FileDatadirectory, displayname, exists, filename, filesize, lastmodified, path, prefix, separator
 
- 
 - 
Constructor SummaryConstructors 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 SummaryAll 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.FileDataconvertToRemoteFiles, getDisplayName, getDisplayName, getFilename, getFileSize, getLastModified, getPath, getPrefixLength, getSeparatorChar, isDirectory, isExists, setDirectory, setDisplayName, setExists, setFilename, setFileSize, setLastModified, setPath, setPrefixLength, setSeparatorChar, toString
 
- 
 
- 
- 
- 
Field Detail- 
jarentriesprotected java.util.Map<java.lang.String,java.util.Collection<FileData>> jarentries The map of jar entries.
 - 
relativepathprotected java.lang.String relativepath The relative path inside of the jar file.
 
- 
 - 
Constructor Detail- 
RemoteJarFilepublic RemoteJarFile() Create a remote jar file.
 - 
RemoteJarFilepublic 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- 
listFilespublic java.util.Collection<FileData> listFiles() List the files.- Returns:
- The collection of files.
 
 - 
getJarEntriespublic java.util.Map<java.lang.String,java.util.Collection<FileData>> getJarEntries() Get the jarentries.- Returns:
- the jarentries.
 
 - 
setJarEntriespublic void setJarEntries(java.util.Map<java.lang.String,java.util.Collection<FileData>> jarentries) Set the jarentries.- Parameters:
- jarentries- The jarentries to set.
 
 - 
getRelativePathpublic java.lang.String getRelativePath() Get the relativepath.- Returns:
- the relativepath.
 
 - 
setRelativePathpublic void setRelativePath(java.lang.String relativepath) Set the relativepath.- Parameters:
- relativepath- The relativepath to set.
 
 - 
getPathNamepublic java.lang.String getPathName() Get path name.
 - 
isResolvedpublic boolean isResolved() Test if the jar is already resolved, ie. remote call has been performed.
 
- 
 
-