|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface IConfigurationFileHandler
| Method Summary | |
|---|---|
boolean |
canHandle(java.io.File file)
Returns true if the specified file can be handled by this IConfigurationFileHandler. |
java.lang.String |
getServicePID(java.lang.String fileName)
Returns the configuration name of the specified fileName. |
java.util.Properties |
handle(java.io.File file)
Returns the properties after loading the specified file. |
| Method Detail |
|---|
java.lang.String getServicePID(java.lang.String fileName)
fileName. The specified fileName must not have
file path prefix. Returns null if the file name can not be handled by this handler.
fileName - The file name. This argument must not be null.
fileName argument.java.util.Properties handle(java.io.File file)
file. Returns empty properties if the
specified file does not have any configuration properties.
file - The configuration file to be loaded. This argument must not be null.
Properties of the specified file.boolean canHandle(java.io.File file)
true if the specified file can be handled by this IConfigurationFileHandler.
file - The file to be handled. This argument must not be null.
boolean indicator whether this IConfigurationFileHandler able to handle file.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||