com.groupdocs.metadata.legacy

Interfaces

Classes

Exceptions

com.groupdocs.metadata.legacy

Class FormatFactory


  • Deprecated.

    @Deprecated
    public class FormatFactory
    extends Object

    Provides base operations to recognize files of different formats.

    • Constructor Detail

      • FormatFactory

        public FormatFactory()
        Deprecated. 
    • Method Detail

      • recognizeFormat

        public static FormatBase recognizeFormat(String path)
        Deprecated. 

        Recognizes a file and returns the appropriate descendant of FormatBase.

        Parameters:
        path - A string that contains the full name of the file from which to create a FormatBase instance.
        Returns:
        The appropriate descendant of FormatBase.
      • recognizeFormat

        public static FormatBase recognizeFormat(InputStream stream)
        Deprecated. 

        Recognizes a file and returns the appropriate descendant of FormatBase.

        Parameters:
        stream - A stream that contains the data for this FormatBase.
        Returns:
        The appropriate descendant of FormatBase.