public void readFrom(InputStream in, Syntax syntax) throws IOException, ModelRuntimeException, SyntaxNotSupportedException { if (syntax == Syntax.Trix) { readFrom(in); } else { throw new SyntaxNotSupportedException( "Syntax '" + syntax + "' not supported. Or the adapter implementor was too lazy to override thid method"); } }
@Override public void readFrom(InputStream in, Syntax syntax) throws IOException, ModelRuntimeException, SyntaxNotSupportedException { if (syntax == Syntax.Trix) { readFrom(in); } else { throw new SyntaxNotSupportedException( "Syntax '" + syntax + "' not supported. Or the adapter implementor was too lazy to override thid method"); } }
@Override public void readFrom(Reader in, Syntax syntax) throws IOException, ModelRuntimeException, SyntaxNotSupportedException { if (syntax == Syntax.Trix) { readFrom(in); } else { throw new SyntaxNotSupportedException( "Syntax '" + syntax + "' not supported. Or the adapter implementor was too lazy to override thid method"); } }
public void readFrom(Reader in, Syntax syntax) throws IOException, ModelRuntimeException, SyntaxNotSupportedException { if (syntax == Syntax.Trix) { readFrom(in); } else { throw new SyntaxNotSupportedException( "Syntax '" + syntax + "' not supported. Or the adapter implementor was too lazy to override thid method"); } }