org.broadleafcommerce.common.extensibility.context
Class ResourceInputStream
java.lang.Object
java.io.InputStream
org.broadleafcommerce.common.extensibility.context.ResourceInputStream
- All Implemented Interfaces:
- java.io.Closeable
public class ResourceInputStream
- extends java.io.InputStream
- Author:
- jfischer
|
Constructor Summary |
ResourceInputStream(java.io.InputStream is,
java.lang.String name)
|
ResourceInputStream(java.io.InputStream is,
java.lang.String name,
java.util.List<java.lang.String> previousNames)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ResourceInputStream
public ResourceInputStream(java.io.InputStream is,
java.lang.String name)
ResourceInputStream
public ResourceInputStream(java.io.InputStream is,
java.lang.String name,
java.util.List<java.lang.String> previousNames)
getNames
public java.util.List<java.lang.String> getNames()
getName
public java.lang.String getName()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object
available
public int available()
throws java.io.IOException
- Overrides:
available in class java.io.InputStream
- Throws:
java.io.IOException
close
public void close()
throws java.io.IOException
- Specified by:
close in interface java.io.Closeable- Overrides:
close in class java.io.InputStream
- Throws:
java.io.IOException
mark
public void mark(int i)
- Overrides:
mark in class java.io.InputStream
markSupported
public boolean markSupported()
- Overrides:
markSupported in class java.io.InputStream
read
public int read()
throws java.io.IOException
- Specified by:
read in class java.io.InputStream
- Throws:
java.io.IOException
read
public int read(byte[] bytes)
throws java.io.IOException
- Overrides:
read in class java.io.InputStream
- Throws:
java.io.IOException
read
public int read(byte[] bytes,
int i,
int i1)
throws java.io.IOException
- Overrides:
read in class java.io.InputStream
- Throws:
java.io.IOException
reset
public void reset()
throws java.io.IOException
- Overrides:
reset in class java.io.InputStream
- Throws:
java.io.IOException
skip
public long skip(long l)
throws java.io.IOException
- Overrides:
skip in class java.io.InputStream
- Throws:
java.io.IOException
Copyright © 2012. All Rights Reserved.