Start line:  
End line:  

Snippet Preview

Snippet HTML Code

Stack Overflow Questions
 package com.webimageloader.util;
A factory of

Alexander Blom <>
public interface InputSupplier {
Get the length of the supplied

the length
Throws: if opening the stream or file failed
    long getLength() throws IOException;

Open a new, you should be sure to close any previously opened streams before

a fresh stream which you are responsible for closing
Throws: if opening the stream failed
    InputStream getInput() throws IOException;
New to GrepCode? Check out our FAQ X