org.apache.maven.doxia.wrapper
Class InputReaderWrapper
java.lang.Object
org.apache.maven.doxia.wrapper.InputReaderWrapper
- All Implemented Interfaces:
- Serializable
public class InputReaderWrapper
- extends Object
Wrapper for an input reader.
- Version:
- $Id$
- Author:
- Vincent Siveton
- See Also:
- Serialized Form
AUTO_FORMAT
public static final String AUTO_FORMAT
- See Also:
- Constant Field Values
getReader
public Reader getReader()
- Returns:
- the reader
valueOf
public static InputReaderWrapper valueOf(Reader reader,
String format,
String[] supportedFormat)
- Parameters:
reader - not nullformat - not nullsupportedFormat - not null
- Returns:
- a type safe input reader
getFormat
public String getFormat()
- Returns:
- the wanted format.
getSupportedFormat
public String[] getSupportedFormat()
- Returns:
- the supportedFormat
equals
public boolean equals(Object other)
-
- Overrides:
equals in class Object
hashCode
public int hashCode()
-
- Overrides:
hashCode in class Object
toString
public String toString()
-
- Overrides:
toString in class Object
Copyright © 2005-2010 FuseSource. All Rights Reserved.