Class AbstractPlexusIoResource

    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected AbstractPlexusIoResource​(java.lang.String name, long lastModified, long size, boolean isFile, boolean isDirectory, boolean isExisting)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      long getLastModified()
      Returns the date, when the resource was last modified, if known.
      java.lang.String getName()
      Returns the resources name, which may include path components, like directory names, or something like that.
      long getSize()
      Returns the resources size, if known.
      boolean isDirectory()
      Returns, whether the FileInfo refers to a directory.
      boolean isExisting()
      Returns, whether the resource exists.
      boolean isFile()
      Returns, whether the FileInfo refers to a file.
      boolean isSymbolicLink()
      Returns, whether the FileInfo refers to a symlink.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • name

        private final java.lang.String name
      • lastModified

        private final long lastModified
      • size

        private final long size
      • isFile

        private final boolean isFile
      • isDirectory

        private final boolean isDirectory
      • isExisting

        private final boolean isExisting
    • Constructor Detail

      • AbstractPlexusIoResource

        protected AbstractPlexusIoResource​(@Nonnull
                                           java.lang.String name,
                                           long lastModified,
                                           long size,
                                           boolean isFile,
                                           boolean isDirectory,
                                           boolean isExisting)