Free Support Forum - groupdocs.com

How to know if file type is supported?


#1

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.

#2
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

http://groupdocs.com
Your Document Collaboration APIs
Follow us on LinkedIn, Twitter, Facebook and Google+


#3

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


#4

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


---------

Best regards,

Evgen Efimov


http://groupdocs.com
Your Document Collaboration APIs
Follow us on LinkedIn, Twitter, Facebook and Google+