Documentation of 'org.freehep.util.io.ConditionalInputStream' Java class
ConditionalInputStream
org.freehep.util.io

Class ConditionalInputStream

  • All Implemented Interfaces:
    java.io.Closeable, java.lang.AutoCloseable


    public class ConditionalInputStream
    extends java.io.InputStream
    The 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
      int read() 
      • Methods inherited from class java.io.InputStream

        available, close, mark, markSupported, read, read, reset, skip
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ConditionalInputStream

        public ConditionalInputStream(java.io.InputStream input,
                                      java.util.Properties defines)
        Creates a Conditional Input Stream from given stream.
        Parameters:
        input - stream to read from
        defines - set of properties to be used in ifdefs
    • Method Detail

      • read

        public int read()
                 throws java.io.IOException
        Specified by:
        read in class java.io.InputStream
        Throws:
        java.io.IOException

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.