public int read() throws IOException {
if (index > EOF) {
if (buffer == null) {
String data = readFully();
Project project = getProject();
GetProperty getProperty;
if (propertySet == null) {
getProperty = PropertyHelper.getPropertyHelper(project);
} else {
final Properties props = propertySet.getProperties();
getProperty = new GetProperty() {
public Object getProperty(String name) {
return props.getProperty(name);
}
};