Class ToolsCatalog.Entry

  • Enclosing class:
    ToolsCatalog

    public static class ToolsCatalog.Entry
    extends Object
    A file served out of the tools root directory.
    • Method Detail

      • getMode

        public int getMode()
        Returns:
        the preferred UNIX file mode, e.g. 0755.
      • getPath

        public String getPath()
        Returns:
        path of the entry, relative to the catalog root.
      • getName

        public String getName()
        Returns:
        name of the entry, within its parent directory.
      • getChildren

        public List<ToolsCatalog.Entry> getChildren()
        Returns:
        collection of entries below this one, if this is a directory.
      • getBytes

        public byte[] getBytes()
        Returns:
        a copy of the file's contents.