IdentificationFacet

public class IdentificationFacet implements IFacet

Represents a facet that can identify resources languages.

Constructors

IdentificationFacet

public IdentificationFacet(Func1<FileObject, Boolean> identifier)

Creates an identification facet using an identification function.

Parameters:
  • identifier – The identification function.

Methods

identify

public boolean identify(FileObject file)