Interface Resource

All Known Implementing Classes:
FileResource, JarResource, MemoryResource

public interface Resource
Author:
pthomas3
  • Field Details

  • Method Details

    • isFile

      boolean isFile()
    • isClassPath

      boolean isClassPath()
    • getFile

      File getFile()
    • getUri

      URI getUri()
    • getRelativePath

      String getRelativePath()
    • resolve

      Resource resolve(String path)
    • getPrefixedPath

      default String getPrefixedPath()
    • getPrefixedParentPath

      default String getPrefixedParentPath()
    • getPackageQualifiedName

      default String getPackageQualifiedName()
    • getFileNameWithoutExtension

      default String getFileNameWithoutExtension()
    • getStream

      InputStream getStream()
    • getLastModified

      default long getLastModified()