interface IProductDetector
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
gerPreferredHome() |
java.lang.String[] |
getBins() |
java.util.Map<java.lang.String,java.lang.String> |
getHomes()
Note: The map's key is used for choosing product to use.
User will decide key's format. |
java.lang.String[] |
getPossibleExecutables() |
java.io.File |
getValidExecutable(java.io.File home,
java.lang.String defaultExecutable)
Find the valid executable for the product.
The search logic could be: 1. |
java.util.Map<java.lang.String,java.lang.String> getHomes()
java.lang.String gerPreferredHome()
java.lang.String[] getBins()
java.lang.String[] getPossibleExecutables()
java.io.File getValidExecutable(java.io.File home,
java.lang.String defaultExecutable)
throws java.io.FileNotFoundException
getBins() sub folder of product homegetPossibleExecutables() under the product homehome - File, the product home directorydefaultExecutable - String, the default executable. It could be name or "path relative to home".java.io.FileNotFoundException - if no executable could be foundProductDetectorDefaultCopyright © SAS Institute. All Rights Reserved.