com.day.cq.collab.wiki.api.util
Class StackedReader

java.lang.Object
  extended by java.io.Reader
      extended by com.day.cq.collab.wiki.api.util.StackedReader
All Implemented Interfaces:
Closeable, Readable

public class StackedReader
extends Reader

StackedReader...


Field Summary
 
Fields inherited from class java.io.Reader
lock
 
Constructor Summary
StackedReader(Reader base, String name)
           
 
Method Summary
 void close()
           
 boolean contains(String name)
           
 String getProperty(String name)
           
 void push(Reader r, String name, Properties props)
           
 int read()
           
 int read(char[] cbuf)
           
 int read(char[] cbuf, int off, int len)
           
 
Methods inherited from class java.io.Reader
mark, markSupported, read, ready, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StackedReader

public StackedReader(Reader base,
                     String name)
Method Detail

push

public void push(Reader r,
                 String name,
                 Properties props)

getProperty

public String getProperty(String name)

contains

public boolean contains(String name)

read

public int read()
         throws IOException
Overrides:
read in class Reader
Throws:
IOException

read

public int read(char[] cbuf)
         throws IOException
Overrides:
read in class Reader
Throws:
IOException

close

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

read

public int read(char[] cbuf,
                int off,
                int len)
         throws IOException
Specified by:
read in class Reader
Throws:
IOException


Copyright © 2011-2012 Adobe Systems Incorporated. All Rights Reserved.