This project has retired. For details please refer to its Attic page.
LatinEntityResolutionReader

org.apache.maven.archiva.xml
Class LatinEntityResolutionReader

Package class diagram package LatinEntityResolutionReader
java.lang.Object
  extended by java.io.Reader
      extended by org.apache.maven.archiva.xml.LatinEntityResolutionReader
All Implemented Interfaces:
java.io.Closeable, java.lang.Readable

public class LatinEntityResolutionReader
extends java.io.Reader

LatinEntityResolutionReader - Read a Character Stream.


Field Summary
 
Fields inherited from class java.io.Reader
lock
 
Constructor Summary
LatinEntityResolutionReader(java.io.Reader reader)
           
 
Method Summary
 void close()
           
 int read(char[] destbuf, int offset, int length)
          Read characters into a portion of an array.
 
Methods inherited from class java.io.Reader
mark, markSupported, read, read, read, ready, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LatinEntityResolutionReader

public LatinEntityResolutionReader(java.io.Reader reader)
Method Detail

read

public int read(char[] destbuf,
                int offset,
                int length)
         throws java.io.IOException
Read characters into a portion of an array. This method will block until some input is available, an I/O error occurs, or the end of the stream is reached.

Specified by:
read in class java.io.Reader
Parameters:
destbuf - Destination buffer
offset - Offset (in destination buffer) at which to start storing characters
length - Maximum number of characters to read
Returns:
The number of characters read, or -1 if the end of the stream has been reached
Throws:
java.io.IOException - if an I/O error occurs.

close

public void close()
           throws java.io.IOException
Specified by:
close in interface java.io.Closeable
Specified by:
close in class java.io.Reader
Throws:
java.io.IOException