org.freehep.util.io
Class ConditionalInputStream
- java.lang.Object
-
- java.io.InputStream
-
- org.freehep.util.io.ConditionalInputStream
-
- All Implemented Interfaces:
- java.io.Closeable, java.lang.AutoCloseable
public class ConditionalInputStream extends java.io.InputStreamThe ConditionalInputStream reads a stream and filters certain parts depending of properties and statements in the input.The following statements, all start with the &at;-sign, are allowed:
- @ifdef property, reads everything up to the next
-
-
Constructor Summary
Constructors Constructor and Description ConditionalInputStream(java.io.InputStream input, java.util.Properties defines)Creates a Conditional Input Stream from given stream.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description intread()
-
DMelt 3.0 © DataMelt by jWork.ORG