Interface DigestFileEntryFactory

All Known Implementing Classes:
BaseDigestFileEntryFactory, MD5DigestFileEntry.Factory, SHA1DigestFileEntry.Factory

public interface DigestFileEntryFactory
A factory for creating digest file entries.
Since:
1.0
  • Method Summary

    Modifier and Type
    Method
    Description
    create(FileSystem fileSystem, DirectoryEntry parent, FileEntry entry)
    Creates a digest entry for the specified content within the specified directory of the file system.
    Returns the type of digest (i.e.
  • Method Details

    • getType

      String getType()
      Returns the type of digest (i.e. the file extension).
      Returns:
      the type of digest (i.e. the file extension).
      Since:
      1.0
    • create

      FileEntry create(FileSystem fileSystem, DirectoryEntry parent, FileEntry entry)
      Creates a digest entry for the specified content within the specified directory of the file system.
      Parameters:
      fileSystem - the file system the digest entry will be created in.
      parent - the parent directory that the digest entry will belong to.
      entry - the entry that the digest entry will digest.
      Returns:
      a digest file entry.
      Since:
      1.0