org.apache.maven.archiva.xml
Class LatinEntityResolutionReader
java.lang.Object
java.io.Reader
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.
- Version:
- $Id: LatinEntityResolutionReader.java 562485 2007-08-03 14:44:15Z joakime $
- Author:
- Joakim Erdfelt
| Fields inherited from class java.io.Reader |
lock |
|
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 |
LatinEntityResolutionReader
public LatinEntityResolutionReader(java.io.Reader reader)
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 bufferoffset - Offset (in destination buffer) at which to start storing characterslength - 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
Copyright © 2006-2008 Apache Software Foundation. All Rights Reserved.