public static class SoftwareServerAuxiliary.ScriptTypes extends Object
Constructor and Description |
---|
SoftwareServerAuxiliary.ScriptTypes()
Class constructor.
|
SoftwareServerAuxiliary.ScriptTypes(String filename)
Class constructor.
|
Modifier and Type | Method and Description |
---|---|
SoftwareServerAuxiliary.ScriptType |
getScriptType(String extension)
Retrieve info on a script type.
|
SoftwareServerAuxiliary.ScriptType |
getScriptType(String extension,
String os)
Retrieve info on a script type.
|
boolean |
isRunnable(String extension)
Check if a script of the given type is runnable on the current platform.
|
void |
print()
Display all script type information.
|
public SoftwareServerAuxiliary.ScriptTypes()
public SoftwareServerAuxiliary.ScriptTypes(String filename)
filename
- the name of the file containing the script informationpublic void print()
public SoftwareServerAuxiliary.ScriptType getScriptType(String extension)
extension
- the extension of the script typepublic SoftwareServerAuxiliary.ScriptType getScriptType(String extension, String os)
extension
- the extension of the script typeos
- the target operating systempublic boolean isRunnable(String extension)
extension
- the extension of the script typeCopyright © 2017. All rights reserved.