Package jadex.base

Class RemoteJarFile


  • public class RemoteJarFile
    extends FileData
    The remote jar file.
    • 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.