Package gw.internal.gosu.properties
Interface PropertySetSource
-
- All Known Implementing Classes:
PropertiesPropertySet.Source
public interface PropertySetSource
Represents the different sources ofPropertySet
objects that can be used to buildPropertiesType
objects.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IFile
getFile(String name)
Returns the file for the given name.PropertySet
getPropertySet(String name)
Return the named property setPropertySet
getPropertySetForFile(IFile file)
Return the property set for the given fileSet<String>
getPropertySetNames()
The names of all the property sets available from this source
-
-
-
Method Detail
-
getPropertySetNames
Set<String> getPropertySetNames()
The names of all the property sets available from this source- Returns:
- a non null set of property set names
-
getPropertySet
PropertySet getPropertySet(String name)
Return the named property set- Parameters:
name
- the name of the property set- Returns:
- a property set, or null if the name is not in the set returned by
getPropertySetNames()
-
getPropertySetForFile
PropertySet getPropertySetForFile(IFile file)
Return the property set for the given file- Parameters:
file
- the name of the file- Returns:
- a property set, or null if the name is not in the set returned by
getPropertySetNames()
-
-