org.simBio.sim.dm.util
Class StringInputStream
java.lang.Object
java.io.InputStream
org.simBio.sim.dm.util.StringInputStream
- All Implemented Interfaces:
- java.io.Closeable
public class StringInputStream
- extends java.io.InputStream
StringをInputStreamに変換するクラス
- Version:
- $Id: StringInputStream.java,v 1.1 2007/09/10 06:33:35 mikaelwing Exp $
- Author:
- sarai
Methods inherited from class java.io.InputStream |
available, read, read, skip |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
StringInputStream
public StringInputStream(java.lang.String source)
read
public int read()
throws java.io.IOException
- Specified by:
read
in class java.io.InputStream
- Throws:
java.io.IOException
close
public void close()
- Specified by:
close
in interface java.io.Closeable
- Overrides:
close
in class java.io.InputStream
mark
public void mark(int readlimit)
- Overrides:
mark
in class java.io.InputStream
reset
public void reset()
throws java.io.IOException
- Overrides:
reset
in class java.io.InputStream
- Throws:
java.io.IOException
markSupported
public boolean markSupported()
- Overrides:
markSupported
in class java.io.InputStream
Copyright © 2002-2008 Cell/Biodinamics simulation project. All Rights Reserved.