com.togethersoft.openapi.util.properties
Interface PropertyLocator
- public interface PropertyLocator
Represents access to property stored in file.
- Author:
- TogetherSoft
| Method Summary |
String | getFile(String property) Return name of file which contains specified property. |
TextPosition | locateNameChar(String property, int index) Return position of property name within file. |
TextPosition | locateValueChar(String property, int index) Return position of property value within file. |
getFile
public String getFile(String property)
- Return name of file which contains specified property.
- Parameters:
- property - Name of property
- Returns: Name of file
locateNameChar
public TextPosition locateNameChar(String property, int index)
- Return position of property name within file.
- Parameters:
- property - Name of the property
- index - Offset from the first character in property name.
Used to access to several properties.
locateValueChar
public TextPosition locateValueChar(String property, int index)
- Return position of property value within file.
- Parameters:
- property - Name of the property
- index - Offset from the first character in property value.
Used to access to several values of property.