/** * Creates a <code>SharedFileInputStream</code> * with the specified buffer size. * * @param file the file * @param size the buffer size. * @exception IOException for errors opening the file * @exception IllegalArgumentException if size ≤ 0. */ public SharedFileInputStream(String file, int size) throws IOException { super(null); // XXX - will it NPE? if (size <= 0) throw new IllegalArgumentException("Buffer size <= 0"); init(new SharedFile(file), size); }
/** * Creates a <code>SharedFileInputStream</code> * with the specified buffer size. * * @param file the file * @param size the buffer size. * @exception IOException for errors opening the file * @exception IllegalArgumentException if size ≤ 0. */ public SharedFileInputStream(File file, int size) throws IOException { super(null); // XXX - will it NPE? if (size <= 0) throw new IllegalArgumentException("Buffer size <= 0"); init(new SharedFile(file), size); }
/** * Creates a <code>SharedFileInputStream</code> * with the specified buffer size. * * @param file the file * @param size the buffer size. * @exception IOException for errors opening the file * @exception IllegalArgumentException if size ≤ 0. */ public SharedFileInputStream(File file, int size) throws IOException { super(null); // XXX - will it NPE? if (size <= 0) throw new IllegalArgumentException("Buffer size <= 0"); init(new SharedFile(file), size); }
/** * Creates a <code>SharedFileInputStream</code> * with the specified buffer size. * * @param file the file * @param size the buffer size. * @exception IOException for errors opening the file * @exception IllegalArgumentException if size ≤ 0. */ public SharedFileInputStream(String file, int size) throws IOException { super(null); // XXX - will it NPE? if (size <= 0) throw new IllegalArgumentException("Buffer size <= 0"); init(new SharedFile(file), size); }
/** * Construct a SharedFileInputStream from a File object, with a given initial buffer size. * * @param file The name of the file. * @param bufferSize The initial buffer size. * * @exception IOException */ public SharedFileInputStream(File file, int bufferSize) throws IOException { // I'm not sure this is correct or not. The SharedFileInputStream spec requires this // be a subclass of BufferedInputStream. The BufferedInputStream constructor takes a stream, // which we're not really working from at this point. Using null seems to work so far. super(null); init(file, bufferSize); }
/** * Construct a SharedFileInputStream from a file name, with a given initial buffer size. * * @param file The name of the file. * @param bufferSize The initial buffer size. * * @exception IOException */ public SharedFileInputStream(String file, int bufferSize) throws IOException { // I'm not sure this is correct or not. The SharedFileInputStream spec requires this // be a subclass of BufferedInputStream. The BufferedInputStream constructor takes a stream, // which we're not really working from at this point. Using null seems to work so far. super(null); init(new File(file), bufferSize); }
/** * Creates a <code>SharedFileInputStream</code> * with the specified buffer size. * * @param file the file * @param size the buffer size. * @exception IllegalArgumentException if size <= 0. */ public SharedFileInputStream(String file, int size) throws IOException { super(null); // XXX - will it NPE? if (size <= 0) throw new IllegalArgumentException("Buffer size <= 0"); init(new SharedFile(file), size); }
/** * Creates a <code>SharedFileInputStream</code> * with the specified buffer size. * * @param file the file * @param size the buffer size. * @exception IOException for errors opening the file * @exception IllegalArgumentException if size ≤ 0. */ public SharedFileInputStream(String file, int size) throws IOException { super(null); // XXX - will it NPE? if (size <= 0) throw new IllegalArgumentException("Buffer size <= 0"); init(new SharedFile(file), size); }
/** * Creates a <code>SharedFileInputStream</code> * with the specified buffer size. * * @param file the file * @param size the buffer size. * @exception IOException for errors opening the file * @exception IllegalArgumentException if size ≤ 0. */ public SharedFileInputStream(File file, int size) throws IOException { super(null); // XXX - will it NPE? if (size <= 0) throw new IllegalArgumentException("Buffer size <= 0"); init(new SharedFile(file), size); }
/** * Creates a <code>SharedFileInputStream</code> * with the specified buffer size. * * @param file the file * @param size the buffer size. * @exception IllegalArgumentException if size <= 0. */ public SharedFileInputStream(File file, int size) throws IOException { super(null); // XXX - will it NPE? if (size <= 0) throw new IllegalArgumentException("Buffer size <= 0"); init(new SharedFile(file), size); }
/** * Creates a <code>SharedFileInputStream</code> * with the specified buffer size. * * @param file the file * @param size the buffer size. * @exception IllegalArgumentException if size <= 0. */ public SharedFileInputStream(String file, int size) throws IOException { super(null); // XXX - will it NPE? if (size <= 0) throw new IllegalArgumentException("Buffer size <= 0"); init(new SharedFile(file), size); }
/** * Creates a <code>SharedFileInputStream</code> * with the specified buffer size. * * @param file the file * @param size the buffer size. * @exception IllegalArgumentException if size <= 0. */ public SharedFileInputStream(File file, int size) throws IOException { super(null); // XXX - will it NPE? if (size <= 0) throw new IllegalArgumentException("Buffer size <= 0"); init(new SharedFile(file), size); }
/** * Creates a <code>SharedFileInputStream</code> * with the specified buffer size. * * @param file the file * @param size the buffer size. * @exception IOException for errors opening the file * @exception IllegalArgumentException if size ≤ 0. */ public SharedFileInputStream(String file, int size) throws IOException { super(null); // XXX - will it NPE? if (size <= 0) throw new IllegalArgumentException("Buffer size <= 0"); init(new SharedFile(file), size); }
/** * Creates a <code>SharedFileInputStream</code> * with the specified buffer size. * * @param file the file * @param size the buffer size. * @exception IOException for errors opening the file * @exception IllegalArgumentException if size ≤ 0. */ public SharedFileInputStream(File file, int size) throws IOException { super(null); // XXX - will it NPE? if (size <= 0) throw new IllegalArgumentException("Buffer size <= 0"); init(new SharedFile(file), size); }
/** * Creates a <code>SharedFileInputStream</code> * with the specified buffer size. * * @param file the file * @param size the buffer size. * @exception IOException for errors opening the file * @exception IllegalArgumentException if size ≤ 0. */ public SharedFileInputStream(File file, int size) throws IOException { super(null); // XXX - will it NPE? if (size <= 0) throw new IllegalArgumentException("Buffer size <= 0"); init(new SharedFile(file), size); }
/** * Creates a <code>SharedFileInputStream</code> * with the specified buffer size. * * @param file the file * @param size the buffer size. * @exception IOException for errors opening the file * @exception IllegalArgumentException if size ≤ 0. */ public SharedFileInputStream(File file, int size) throws IOException { super(null); // XXX - will it NPE? if (size <= 0) throw new IllegalArgumentException("Buffer size <= 0"); init(new SharedFile(file), size); }
/** * Creates a <code>SharedFileInputStream</code> * with the specified buffer size. * * @param file the file * @param size the buffer size. * @exception IOException for errors opening the file * @exception IllegalArgumentException if size ≤ 0. */ public SharedFileInputStream(String file, int size) throws IOException { super(null); // XXX - will it NPE? if (size <= 0) throw new IllegalArgumentException("Buffer size <= 0"); init(new SharedFile(file), size); }
/** * Creates a <code>SharedFileInputStream</code> * with the specified buffer size. * * @param file the file * @param size the buffer size. * @exception IOException for errors opening the file * @exception IllegalArgumentException if size ≤ 0. */ public SharedFileInputStream(File file, int size) throws IOException { super(null); // XXX - will it NPE? if (size <= 0) throw new IllegalArgumentException("Buffer size <= 0"); init(new SharedFile(file), size); }
/** * Creates a <code>SharedFileInputStream</code> * with the specified buffer size. * * @param file the file * @param size the buffer size. * @exception IOException for errors opening the file * @exception IllegalArgumentException if size ≤ 0. */ public SharedFileInputStream(String file, int size) throws IOException { super(null); // XXX - will it NPE? if (size <= 0) throw new IllegalArgumentException("Buffer size <= 0"); init(new SharedFile(file), size); }
/** * Creates a <code>SharedFileInputStream</code> * with the specified buffer size. * * @param file the file * @param size the buffer size. * @exception IOException for errors opening the file * @exception IllegalArgumentException if size ≤ 0. */ public SharedFileInputStream(String file, int size) throws IOException { super(null); // XXX - will it NPE? if (size <= 0) throw new IllegalArgumentException("Buffer size <= 0"); init(new SharedFile(file), size); }