inpro.audio
Class SilenceStream.ZeroInputStream

java.lang.Object
  extended by java.io.InputStream
      extended by inpro.audio.SilenceStream.ZeroInputStream
All Implemented Interfaces:
java.io.Closeable
Enclosing class:
SilenceStream

private static class SilenceStream.ZeroInputStream
extends java.io.InputStream


Field Summary
(package private)  long remainingSize
           
 
Constructor Summary
private SilenceStream.ZeroInputStream(long sizeInBytes)
           
 
Method Summary
 int available()
           
 int read()
           
 
Methods inherited from class java.io.InputStream
close, mark, markSupported, read, read, reset, skip
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

remainingSize

long remainingSize
Constructor Detail

SilenceStream.ZeroInputStream

private SilenceStream.ZeroInputStream(long sizeInBytes)
Method Detail

read

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

available

public int available()
              throws java.io.IOException
Overrides:
available in class java.io.InputStream
Throws:
java.io.IOException