|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.io.InputStream net.sf.morph.util.ResourceArrayInputStream
public class ResourceArrayInputStream
Special InputStream
that will concatenate the contents of a Spring Resource[].
Adapted from Apache Ant ConcatResourceInputStream.
Constructor Summary | |
---|---|
ResourceArrayInputStream(org.springframework.core.io.Resource[] resources)
Construct a new ResourceArrayInputStream. |
Method Summary | |
---|---|
void |
close()
Close the stream. |
int |
read()
Read a byte. |
Methods inherited from class java.io.InputStream |
---|
available, mark, markSupported, read, read, reset, skip |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ResourceArrayInputStream(org.springframework.core.io.Resource[] resources)
resources
- Method Detail |
---|
public void close() throws java.io.IOException
close
in interface java.io.Closeable
close
in class java.io.InputStream
java.io.IOException
- if there is an error.public int read() throws java.io.IOException
read
in class java.io.InputStream
java.io.IOException
- if there is an error.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |