|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectit.unimi.di.mg4j.io.IOFactories
public class IOFactories
Static methods that do useful things with I/O factories.
| Nested Class Summary | |
|---|---|
static class |
IOFactories.FileLinesIterable
|
| Method Summary | |
|---|---|
static Iterable<MutableString> |
fileLinesCollection(IOFactory ioFactory,
String filename,
String encoding)
|
static byte[] |
loadBytes(IOFactory ioFactory,
String filename)
|
static Object |
loadObject(IOFactory ioFactory,
String filename)
|
static Properties |
loadProperties(IOFactory ioFactory,
String filename)
|
static void |
storeObject(IOFactory ioFactory,
Object object,
String filename)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static byte[] loadBytes(IOFactory ioFactory,
String filename)
throws IOException
IOException
public static Object loadObject(IOFactory ioFactory,
String filename)
throws IOException,
ClassNotFoundException
IOException
ClassNotFoundException
public static void storeObject(IOFactory ioFactory,
Object object,
String filename)
throws IOException
IOException
public static Properties loadProperties(IOFactory ioFactory,
String filename)
throws ConfigurationException,
IOException
ConfigurationException
IOException
public static Iterable<MutableString> fileLinesCollection(IOFactory ioFactory,
String filename,
String encoding)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||