Enumerate through the collection of FileType objects.
The following code snippet shows how to get supported file formats list:
// This example demonstrates file types support
// Get list of supported file
List<FileType>fileTypes=FileType.getSupportedFileTypes();Iteratortmp0=(fileTypes).iterator();// Iterating elements and print file types
while(tmp0.hasNext()){FileTypefileType=(FileType)tmp0.next();System.out.println(fileType.getExtension());}
Was this page helpful?
Any additional feedback you'd like to share with us?
Please tell us how we can improve this page.
Thank you for your feedback!
We value your opinion. Your feedback will help us improve our documentation.
On this page
Ask AI
Ask anything about this page — the answer is based on its content.
Searching the docs and writing an answer…
Something went wrong while getting an answer. Please try again in a moment.