org.apache.rat.document
Class MockDocument
java.lang.Object
org.apache.rat.document.MockDocument
- All Implemented Interfaces:
- org.apache.rat.api.Document
public class MockDocument
- extends java.lang.Object
- implements org.apache.rat.api.Document
Field Summary |
java.lang.String |
name
|
java.io.Reader |
reader
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
reader
public java.io.Reader reader
name
public java.lang.String name
MockDocument
public MockDocument()
MockDocument
public MockDocument(java.lang.String name)
MockDocument
public MockDocument(java.io.Reader reader,
java.lang.String name)
reader
public java.io.Reader reader()
throws java.io.IOException
- Specified by:
reader
in interface org.apache.rat.api.Document
- Throws:
java.io.IOException
getName
public java.lang.String getName()
- Specified by:
getName
in interface org.apache.rat.api.Document
isComposite
public boolean isComposite()
- Specified by:
isComposite
in interface org.apache.rat.api.Document
getMetaData
public org.apache.rat.api.MetaData getMetaData()
- Specified by:
getMetaData
in interface org.apache.rat.api.Document
inputStream
public java.io.InputStream inputStream()
throws java.io.IOException
- Specified by:
inputStream
in interface org.apache.rat.api.Document
- Throws:
java.io.IOException
Copyright © 2006-2010 Apache Software Foundation. All Rights Reserved.