Interface IResourceReferenceHandler

    • Method Detail

      • getFile

        java.io.File getFile​(IResourceReference resourceReference)
                      throws java.net.URISyntaxException
        Throws:
        java.net.URISyntaxException
      • getUrl

        java.net.URL getUrl​(IResourceReference resourceReference)
                     throws java.net.MalformedURLException
        Throws:
        java.net.MalformedURLException
      • getUri

        java.net.URI getUri​(IResourceReference resourceReference)
                     throws java.net.URISyntaxException
        Throws:
        java.net.URISyntaxException
      • getPath

        java.nio.file.Path getPath​(IResourceReference resourceReference)
                            throws java.net.URISyntaxException
        Throws:
        java.net.URISyntaxException
      • openOnputStream

        java.io.OutputStream openOnputStream​(IResourceReference resourceReference)
                                      throws java.io.IOException
        Throws:
        java.io.IOException
      • openInputStream

        java.io.InputStream openInputStream​(IResourceReference resourceReference)
                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • openInputStream

        java.io.InputStream openInputStream​(IResourceReference resourceReference,
                                            IAcceptor<java.lang.String> contentTypeAcceptor)
                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • delete

        void delete​(IResourceReference resourceReference)
             throws java.io.IOException
        Throws:
        java.io.IOException
      • isFileSystemResource

        boolean isFileSystemResource​(IResourceReference resourceReference)
      • getContent

        java.lang.String getContent​(IResourceReference resourceReference)
                             throws java.io.IOException
        Throws:
        java.io.IOException
      • getContentType

        java.lang.String getContentType​(IResourceReference resourceReference)
      • lastModified

        java.nio.file.attribute.FileTime lastModified​(IResourceReference resourceReference)
                                               throws java.io.IOException
        Throws:
        java.io.IOException
      • lastAccessed

        java.nio.file.attribute.FileTime lastAccessed​(IResourceReference resourceReference)
                                               throws java.io.IOException
        Throws:
        java.io.IOException
      • created

        java.nio.file.attribute.FileTime created​(IResourceReference resourceReference)
                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • toInMemoryReference

        IResourceReference toInMemoryReference​(IResourceReference resourceReference,
                                               java.lang.String contentType,
                                               java.lang.String encoding)
                                        throws java.io.IOException
        Throws:
        java.io.IOException