com.aragost.javahg.internals
Class BaseStatusLine<T extends Enum<?>>

java.lang.Object
  extended by com.aragost.javahg.internals.BaseStatusLine<T>
Direct Known Subclasses:
ResolveStatusLine, StatusLine

public abstract class BaseStatusLine<T extends Enum<?>>
extends Object


Constructor Summary
BaseStatusLine()
           
 
Method Summary
 String getFileName()
           
 T getType()
           
protected  void initFromStream(HgInputStream stream)
          Read and decode a line from an input stream.
 String toString()
           
protected abstract  T typeForChar(char ch)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

BaseStatusLine

public BaseStatusLine()
Method Detail

getType

public T getType()

getFileName

public String getFileName()

typeForChar

protected abstract T typeForChar(char ch)

initFromStream

protected void initFromStream(HgInputStream stream)
                       throws IOException
Read and decode a line from an input stream. Empty the stream if a MalformedInputException occurs.

Parameters:
stream - the input stream
Throws:
IOException - passed through from the underlying stream

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011-2013 aragost Trifork ag. All Rights Reserved.