Class SimpleRepositoryFileData

    • Constructor Detail

      • SimpleRepositoryFileData

        public SimpleRepositoryFileData​(InputStream stream,
                                        String encoding,
                                        String mimeType)
    • Method Detail

      • getStream

        @Deprecated
        public InputStream getStream()
        Deprecated.
        Use getInputStream() instead. Proguard likes to obfuscate any method named getStream that returns an InputStream, even if you tell it not to via keep rules.
        Returns a stream for reading the data in this file.
        Returns:
        stream (may be null)
      • getInputStream

        public InputStream getInputStream()
        Returns a stream for reading the data in this file.
        Returns:
        stream (may be null)
      • getEncoding

        public String getEncoding()
        Returns the character encoding of the bytes in the data stream. May be null for non-character data.
        Returns:
        character encoding
      • getMimeType

        public String getMimeType()
        Returns the MIME type of the data in this file.
        Returns:
        MIME type