/** Constructs <code>J2KReadState</code>. * @param iis The input stream. * @param param The reading parameters. * @param reader The <code>J2KImageReader</code> which holds this state. * It is necessary for processing abortion. * @throws IllegalArgumentException If the provided <code>iis</code>, * or <code>param</code> is <code>null</code>. */ public J2KReadState(ImageInputStream iis, J2KImageReadParamJava param, J2KImageReader reader) { if (iis == null || param == null) throw new IllegalArgumentException(I18N.getString("J2KReadState0")); this.iis = iis; this.j2krparam = param; this.reader = reader; initializeRead(0, param, null); }
/** Constructs <code>J2KReadState</code>. * @param iis The input stream. * @param param The reading parameters. * @param reader The <code>J2KImageReader</code> which holds this state. * It is necessary for processing abortion. * @throw IllegalArgumentException If the provided <code>iis</code>, * or <code>param</code> is <code>null</code>. */ public J2KReadState(ImageInputStream iis, J2KImageReadParamJava param, J2KImageReader reader) { if (iis == null || param == null) throw new IllegalArgumentException(I18N.getString("J2KReadState0")); this.iis = iis; this.j2krparam = param; this.reader = reader; initializeRead(0, param, null); }
/** Constructs <code>J2KReadState</code>. * @param iis The input stream. * @param param The reading parameters. * @param reader The <code>J2KImageReader</code> which holds this state. * It is necessary for processing abortion. * @throw IllegalArgumentException If the provided <code>iis</code>, * or <code>param</code> is <code>null</code>. */ public J2KReadState(ImageInputStream iis, J2KImageReadParamJava param, J2KImageReader reader) { if (iis == null || param == null) throw new IllegalArgumentException(I18N.getString("J2KReadState0")); this.iis = iis; this.j2krparam = param; this.reader = reader; initializeRead(0, param, null); }
/** Constructs <code>J2KReadState</code>. * @param iis The input stream. * @param param The reading parameters. * @param metadata The <code>J2KMetadata</code> to cache the metadata read * from the input stream. * @param reader The <code>J2KImageReader</code> which holds this state. * It is necessary for processing abortion. * @throw IllegalArgumentException If the provided <code>iis</code>, * <code>param</code> or <code>metadata</code> is <code>null</code>. */ public J2KReadState(ImageInputStream iis, J2KImageReadParamJava param, J2KMetadata metadata, J2KImageReader reader) { if (iis == null || param == null || metadata == null) throw new IllegalArgumentException(I18N.getString("J2KReadState0")); this.iis = iis; this.j2krparam = param; this.metadata = metadata; this.reader = reader; initializeRead(0, param, metadata); }
/** Constructs <code>J2KReadState</code>. * @param iis The input stream. * @param param The reading parameters. * @param metadata The <code>J2KMetadata</code> to cache the metadata read * from the input stream. * @param reader The <code>J2KImageReader</code> which holds this state. * It is necessary for processing abortion. * @throw IllegalArgumentException If the provided <code>iis</code>, * <code>param</code> or <code>metadata</code> is <code>null</code>. */ public J2KReadState(ImageInputStream iis, J2KImageReadParamJava param, J2KMetadata metadata, J2KImageReader reader) { if (iis == null || param == null || metadata == null) throw new IllegalArgumentException(I18N.getString("J2KReadState0")); this.iis = iis; this.j2krparam = param; this.metadata = metadata; this.reader = reader; initializeRead(0, param, metadata); }
/** Constructs <code>J2KReadState</code>. * @param iis The input stream. * @param param The reading parameters. * @param metadata The <code>J2KMetadata</code> to cache the metadata read * from the input stream. * @param reader The <code>J2KImageReader</code> which holds this state. * It is necessary for processing abortion. * @throws IllegalArgumentException If the provided <code>iis</code>, * <code>param</code> or <code>metadata</code> is <code>null</code>. */ public J2KReadState(ImageInputStream iis, J2KImageReadParamJava param, J2KMetadata metadata, J2KImageReader reader) { if (iis == null || param == null || metadata == null) throw new IllegalArgumentException(I18N.getString("J2KReadState0")); this.iis = iis; this.j2krparam = param; this.metadata = metadata; this.reader = reader; initializeRead(0, param, metadata); }