org.broadleafcommerce.common.file.service
Class GloballySharedInputStream
java.lang.Object
java.io.InputStream
org.broadleafcommerce.common.file.service.GloballySharedInputStream
- All Implemented Interfaces:
- Closeable
public class GloballySharedInputStream
- extends InputStream
This class serves as a marker interface to indicate that the resource comes from a shared area of the
filesystem. It allows multi-site implementations to only generate one copy of assets that are being
resized.
- Author:
- bpolster
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GloballySharedInputStream
public GloballySharedInputStream(InputStream parentInputStream)
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 arg0)
- 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[] arg0,
int arg1,
int arg2)
throws IOException
- Overrides:
read in class InputStream
- Throws:
IOException
read
public int read(byte[] arg0)
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 arg0)
throws IOException
- Overrides:
skip in class InputStream
- Throws:
IOException
Copyright © 2013. All Rights Reserved.