org.broadleafcommerce.common.extensibility.context
Class ResourceInputStream
java.lang.Object
java.io.InputStream
org.broadleafcommerce.common.extensibility.context.ResourceInputStream
- All Implemented Interfaces:
- Closeable
public class ResourceInputStream
- extends InputStream
- Author:
- jfischer
ResourceInputStream
public ResourceInputStream(InputStream is,
String name)
ResourceInputStream
public ResourceInputStream(InputStream is,
String name,
List<String> previousNames)
getNames
public List<String> getNames()
getName
public String getName()
toString
public String toString()
- Overrides:
toString in class Object
available
public int available()
throws IOException
- Overrides:
available in class InputStream
- Throws:
IOException
close
public void close()
throws IOException
- Specified by:
close in interface Closeable- Overrides:
close in class InputStream
- Throws:
IOException
mark
public void mark(int i)
- Overrides:
mark in class InputStream
markSupported
public boolean markSupported()
- Overrides:
markSupported in class InputStream
read
public int read()
throws IOException
- Specified by:
read in class InputStream
- Throws:
IOException
read
public int read(byte[] bytes)
throws IOException
- Overrides:
read in class InputStream
- Throws:
IOException
read
public int read(byte[] bytes,
int i,
int i1)
throws IOException
- Overrides:
read in class InputStream
- Throws:
IOException
reset
public void reset()
throws IOException
- Overrides:
reset in class InputStream
- Throws:
IOException
skip
public long skip(long l)
throws IOException
- Overrides:
skip in class InputStream
- Throws:
IOException
Copyright © 2013. All Rights Reserved.