Don't throw IllegalStateException if BDF input is incomplete.

This commit is contained in:
akwizgran
2016-11-01 12:16:03 +00:00
parent 2650f3114e
commit 4d8a84a48d
5 changed files with 17 additions and 12 deletions

View File

@@ -4,6 +4,8 @@ import java.io.IOException;
public interface BdfReader {
int DEFAULT_NESTED_LIMIT = 5;
boolean eof() throws IOException;
void close() throws IOException;

View File

@@ -5,4 +5,6 @@ import java.io.InputStream;
public interface BdfReaderFactory {
BdfReader createReader(InputStream in);
BdfReader createReader(InputStream in, int nestedLimit);
}