Class FilePathMemLZF


  • public class FilePathMemLZF
    extends FilePathMem
    A memory file system that compresses blocks to conserve memory.
    • Constructor Detail

      • FilePathMemLZF

        public FilePathMemLZF()
    • Method Detail

      • getPath

        public FilePathMem getPath​(java.lang.String path)
        Description copied from class: FilePath
        Convert a file to a path. This is similar to java.nio.file.spi.FileSystemProvider.getPath, but may return an object even if the scheme doesn't match in case of the default file provider.
        Overrides:
        getPath in class FilePathMem
        Parameters:
        path - the path
        Returns:
        the file path object
      • compressed

        boolean compressed()
        Description copied from class: FilePathMem
        Whether the file should be compressed.
        Overrides:
        compressed in class FilePathMem
        Returns:
        if it should be compressed.
      • getScheme

        public java.lang.String getScheme()
        Description copied from class: FilePath
        Get the scheme (prefix) for this file provider. This is similar to java.nio.file.spi.FileSystemProvider.getScheme.
        Overrides:
        getScheme in class FilePathMem
        Returns:
        the scheme