Package io.aeron.utility
Class ElementIO
java.lang.Object
io.aeron.utility.ElementIO
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic <T> List<T>static voidwrite(FileObject resourceFile, Collection<?> elements)
-
Constructor Details
-
ElementIO
public ElementIO()
-
-
Method Details
-
read
- Type Parameters:
T- the type of elements - ConfigInfo or CounterInfo- Parameters:
elementsFilename- the name of the filename that contains a list of objects- Returns:
- a list of elements
- Throws:
Exception- on IO failure.
-
write
- Parameters:
resourceFile- the destination file to write toelements- a Collection of elements- Throws:
Exception- on IO failure.
-