org.fcrepo.server.utilities
Class ServerUtilitySerializer

java.lang.Object
  extended by org.fcrepo.server.utilities.ServerUtilitySerializer

public final class ServerUtilitySerializer
extends Object

Used to write output from ServerUtility to a stream Just basic log-style output

Version:
$Id$
Author:
Stephen Bayliss

Constructor Summary
ServerUtilitySerializer(PrintWriter pw)
           
 
Method Summary
 void endDatastream()
           
 void endObject()
           
 void finish()
           
 void startDatastream(String dsID)
           
 void startObject(String pid)
           
 void writeVersions(Date[] versions)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServerUtilitySerializer

public ServerUtilitySerializer(PrintWriter pw)
                        throws IOException
Throws:
IOException
Method Detail

finish

public void finish()
            throws IOException
Throws:
IOException

startObject

public void startObject(String pid)
                 throws IOException
Throws:
IOException

endObject

public void endObject()
               throws IOException
Throws:
IOException

startDatastream

public void startDatastream(String dsID)
                     throws IOException
Throws:
IOException

endDatastream

public void endDatastream()
                   throws IOException
Throws:
IOException

writeVersions

public void writeVersions(Date[] versions)
                   throws IOException
Throws:
IOException


Copyright © 2011 DuraSpace. All Rights Reserved.