Properties or a subclass like SortedProperties.
Properties
| Access | Constructor and Description |
|---|---|
| protected |
| Modifier and Type | Method and Description |
|---|---|
| protected abstract T | Returns: a new Properties instance.Subclasses override to provide customized properties instances. |
| public T | Returns: a new properties object.the class loader to use to get the named resource. classLoader, final String the location of the properties file. name)Creates and loads properties from the given file. |
| public T | |
| public T | Returns: a new properties object.the location of the properties file. inputStream)Creates and loads properties from the given input stream. |
| public T | |
| public T | |
| public T | |
| public T | |
| public T |
| AbstractPropertiesFactory | back to summary |
|---|---|
| protected AbstractPropertiesFactory() Constructs an instance. | |
| createProperties | back to summary |
|---|---|
| protected abstract T createProperties() Subclasses override to provide customized properties instances.
| |
| load | back to summary |
|---|---|
| public T load(final ClassLoader classLoader, final String name) throws IOException Creates and loads properties from the given file.
| |
| load | back to summary |
|---|---|
| public T load(final File file) throws FileNotFoundException, IOException Creates and loads properties from the given file.
| |
| load | back to summary |
|---|---|
| public T load(final InputStream inputStream) throws IOException Creates and loads properties from the given input stream.
| |
| load | back to summary |
|---|---|
| public T load(final Path path) throws IOException Creates and loads properties from the given path.
| |
| load | back to summary |
|---|---|
| public T load(final Reader reader) throws IOException Creates and loads properties from the given reader.
| |
| load | back to summary |
|---|---|
| public T load(final String name) throws IOException Creates and loads properties from the given file name.
| |
| load | back to summary |
|---|---|
| public T load(final URI uri) throws IOException Creates and loads properties from the given URI.
| |
| load | back to summary |
|---|---|
| public T load(final URL url) throws IOException Creates and loads properties from the given URL.
| |