|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.apache.directory.studio.apacheds.model.ServersHandlerIO
public class ServersHandlerIO
This class is used to read/write the 'servers.xml' file.
| Constructor Summary | |
|---|---|
ServersHandlerIO()
|
|
| Method Summary | |
|---|---|
static java.util.List<Server> |
read(java.io.InputStream stream)
Reads the given input stream. |
static void |
write(java.util.List<Server> servers,
java.io.OutputStream outputStream)
Writes the list of servers to the given stream. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ServersHandlerIO()
| Method Detail |
|---|
public static java.util.List<Server> read(java.io.InputStream stream)
throws ServersHandlerIOException
stream - the input stream
ServersHandlerIOException
public static void write(java.util.List<Server> servers,
java.io.OutputStream outputStream)
throws java.io.IOException
servers - the serversoutputStream - the output stream
java.io.IOException - if an error occurs when writing to the stream
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||