Package nbbrd.io
Class Properties2
java.lang.Object
nbbrd.io.Properties2
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic @NonNull PropertiesloadFromReader(@NonNull Reader reader) static @NonNull PropertiesloadFromStream(@NonNull InputStream stream) static voidstoreToStream(@NonNull Properties properties, @NonNull OutputStream stream) static voidstoreToWriter(@NonNull Properties properties, @NonNull Writer writer)
-
Field Details
-
PROPERTIES_CHARSET
-
-
Method Details
-
loadFromStream
@NonNull public static @NonNull Properties loadFromStream(@NonNull @NonNull InputStream stream) throws IOException - Throws:
IOException
-
storeToStream
public static void storeToStream(@NonNull @NonNull Properties properties, @NonNull @NonNull OutputStream stream) throws IOException - Throws:
IOException
-
loadFromReader
@NonNull public static @NonNull Properties loadFromReader(@NonNull @NonNull Reader reader) throws IOException - Throws:
IOException
-
storeToWriter
public static void storeToWriter(@NonNull @NonNull Properties properties, @NonNull @NonNull Writer writer) throws IOException - Throws:
IOException
-