public class Prop extends Object
Constructor and Description |
---|
Prop(File file)
Prop constructor.
|
Prop(File file,
Charset charset) |
Prop(File file,
String encoding) |
Prop(String fileName) |
Prop(String fileName,
Charset charset) |
Prop(String fileName,
String encoding) |
Modifier and Type | Method and Description |
---|---|
Prop |
append(File file) |
Prop |
append(File file,
String encoding) |
Prop |
append(Prop prop) |
Prop |
append(String fileName) |
Prop |
append(String fileName,
Charset charset) |
Prop |
append(String fileName,
String encoding) |
Prop |
appendIfExists(File file) |
Prop |
appendIfExists(File file,
String encoding) |
Prop |
appendIfExists(String fileName) |
Prop |
appendIfExists(String fileName,
String encoding) |
boolean |
containsKey(String key) |
String |
get(String key) |
String |
get(String key,
String defaultValue) |
Boolean |
getBoolean(String key) |
Boolean |
getBoolean(String key,
Boolean defaultValue) |
Integer |
getInt(String key) |
Integer |
getInt(String key,
Integer defaultValue) |
Long |
getLong(String key) |
Long |
getLong(String key,
Long defaultValue) |
Properties |
getProperties() |
public Prop(String fileName)
fileName
- public Prop(File file)
Prop(File, String)
public boolean containsKey(String key)
public Properties getProperties()
Copyright © 2021. All rights reserved.