org.eclipse.emf.emfstore.internal.server.model.versioning.impl.persistent
Interface ReadLineCapable


public interface ReadLineCapable

Common interface for types that are able to read from a source line-by-line.

Since:
1.5
Author:
emueller

Field Summary
static ReaderFactory INSTANCE
          Factory for creating types that are an instances of ReadLineCapable.
 
Method Summary
 void close()
          Closes the source from which lines have been read.
 String readLine()
          Returns a line read.
 

Field Detail

INSTANCE

static final ReaderFactory INSTANCE
Factory for creating types that are an instances of ReadLineCapable.

Method Detail

readLine

String readLine()
                throws IOException
Returns a line read.

Returns:
the read line
Throws:
IOException - in case reading fails

close

void close()
           throws IOException
Closes the source from which lines have been read.

Throws:
IOException - in case closing the source fails


Copyright © 2016. All Rights Reserved.