Interface IStreamConnector<T>

    • Method Detail

      • exist

        boolean exist​(T uri)
      • canRead

        boolean canRead​(T uri)
      • canWrite

        boolean canWrite​(T uri)
      • openInputStream

        java.io.InputStream openInputStream​(java.net.URI uri,
                                            IAcceptor<java.lang.String> contentTypeAcceptor)
                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • openInputStream

        java.io.InputStream openInputStream​(T uri)
                                     throws java.io.IOException
        Throws:
        java.io.IOException
      • openOutputStream

        java.io.OutputStream openOutputStream​(T uri)
                                       throws java.io.IOException
        Throws:
        java.io.IOException
      • getContentLength

        long getContentLength​(java.net.URI uri)
                       throws java.io.IOException
        Throws:
        java.io.IOException
      • getContentType

        java.lang.String getContentType​(java.net.URI uri)
                                 throws java.io.IOException
        Throws:
        java.io.IOException