How to know if file type is supported?

Is there a way to know if some file is supported by GroupDocs Annotations to open? I know that the supported filetypes are those listed on http://www.groupdocs.com/docs/display/viewerjava/Supported+Document+Formats, but there’s a method or class that can help me with that?

Thank you.

Hello,

Unfortunately no , but the Annotation library inherits the com.groupdocs.viewer.domain.FileType class from the Viewer library and you can get all supported formats to compare them with your file , so you will know whether it will be supported.

If you will have more questions please feel free to contact us.


Best regards,
Evgen Efimov

Your Document Collaboration APIs
Follow us on LinkedIn, Twitter, Facebook and Google+

Thank you. That was a kind of class I were looking for.

You are welcome. If you will have more questions please feel free to contact us.


Best regards,
Evgen Efimov

Your Document Collaboration APIs
Follow us on LinkedIn, Twitter, Facebook and Google+