Package com.semanticcms.openfile.servlet
Interface OpenFile.FileOpener
- Enclosing class:
OpenFile
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Additional file openers may be registered to the application context.
-
Method Summary
Modifier and TypeMethodDescriptionString[]
getCommand
(File resourceFile) Gets the command that will open the given file.
-
Method Details
-
getCommand
Gets the command that will open the given file.- Returns:
- The command or null to fall-through to default behavior.
- Throws:
IOException
-