Interface ExtensionFile

All Known Subinterfaces:
CoreExtensionFile, LocalExtensionFile

public interface ExtensionFile
Contains the actual file of the extensions and some informations like the size.
Since:
4.0M1
Version:
$Id: da88fad4705920eb73336642be04d97f4d2db61a $
  • Method Summary

    Modifier and Type
    Method
    Description
    long
     
    Open an input stream to allows reading the extensions.
  • Method Details

    • getLength

      long getLength()
      Returns:
      the size of the extension file, -1 if not provided
    • openStream

      InputStream openStream() throws IOException
      Open an input stream to allows reading the extensions.

      Note that it's up to the user of this method to close the stream.

      Returns:
      the stream to read
      Throws:
      IOException - error when opening the stream