org.utgenome.format
Class ObjectStreamReader.TextReader

java.lang.Object
  extended by org.utgenome.format.ObjectStreamReader.TextReader
All Implemented Interfaces:
Callable<Void>, org.xerial.lens.ObjectStreamHandler
Enclosing class:
ObjectStreamReader

public class ObjectStreamReader.TextReader
extends Object
implements Callable<Void>, org.xerial.lens.ObjectStreamHandler


Constructor Summary
ObjectStreamReader.TextReader(Reader in)
           
 
Method Summary
<T> void
add(String name, T obj)
           
<T> void
add(T obj)
           
<T,U> void
append(T parent, String name, U obj)
           
 Void call()
           
 void close()
           
<T,U> void
connect(T parent, String name, U obj)
           
 void fillQueue(org.xerial.util.Deque<Object> dest)
          Fill the destination queue
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ObjectStreamReader.TextReader

public ObjectStreamReader.TextReader(Reader in)
Method Detail

close

public void close()
           throws IOException
Throws:
IOException

call

public Void call()
          throws Exception
Specified by:
call in interface Callable<Void>
Throws:
Exception

fillQueue

public void fillQueue(org.xerial.util.Deque<Object> dest)
Fill the destination queue

Parameters:
dest -

add

public <T> void add(T obj)
         throws Exception
Specified by:
add in interface org.xerial.lens.ObjectStreamHandler
Throws:
Exception

add

public <T> void add(String name,
                    T obj)
         throws Exception
Specified by:
add in interface org.xerial.lens.ObjectStreamHandler
Throws:
Exception

connect

public <T,U> void connect(T parent,
                          String name,
                          U obj)
             throws Exception
Specified by:
connect in interface org.xerial.lens.ObjectStreamHandler
Throws:
Exception

append

public <T,U> void append(T parent,
                         String name,
                         U obj)
            throws Exception
Specified by:
append in interface org.xerial.lens.ObjectStreamHandler
Throws:
Exception


Copyright © 2007-2012 utgenome.org. All Rights Reserved.