com.easyinnova.tiff.io.TiffDataIntput Maven / Gradle / Ivy
Show all versions of tifflibrary4java Show documentation
/**
* TiffDataIntput.java
*
* This program is free software: you can redistribute it and/or modify it under the terms of the
* GNU General Public License as published by the Free Software Foundation, either version 3 of the
* License, or (at your option) any later version; or, at your choice, under the terms of the
* Mozilla Public License, v. 2.0. SPDX GPL-3.0+ or MPL-2.0+.
*
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
* even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* General Public License and the Mozilla Public License for more details.
*
*
* You should have received a copy of the GNU General Public License and the Mozilla Public License
* along with this program. If not, see http://www.gnu.org/licenses/ and at
* http://mozilla.org/MPL/2.0 .
*
*
* NB: for the © statement, include Easy Innova SL or other company/Person contributing the code.
*
*
* © 2015 Easy Innova, SL
*
*
* @author Xavier Tarrés Bonet
* @version 1.0
* @since 26/5/2015
*
*/
package com.easyinnova.tiff.io;
import com.easyinnova.tiff.model.types.Ascii;
import com.easyinnova.tiff.model.types.Byte;
import com.easyinnova.tiff.model.types.Double;
import com.easyinnova.tiff.model.types.Float;
import com.easyinnova.tiff.model.types.Long;
import com.easyinnova.tiff.model.types.Rational;
import com.easyinnova.tiff.model.types.SByte;
import com.easyinnova.tiff.model.types.SLong;
import com.easyinnova.tiff.model.types.SRational;
import com.easyinnova.tiff.model.types.SShort;
import com.easyinnova.tiff.model.types.Short;
import com.easyinnova.tiff.model.types.Undefined;
import java.io.IOException;
/**
* The Interface TiffDataIntput.
*/
public interface TiffDataIntput {
/**
* Read byte.
*
* @return the byte
* @throws IOException Signals that an I/O exception has occurred.
*/
Byte readByte() throws IOException;
/**
* Read byte.
*
* @return the byte
* @throws IOException Signals that an I/O exception has occurred.
*/
Ascii readAscii() throws IOException;
/**
* Read ascii.
*
* @return the ascii
* @throws IOException Signals that an I/O exception has occurred.
*/
Short readShort() throws IOException;
/**
* Read long.
*
* @return the byte
* @throws IOException Signals that an I/O exception has occurred.
*/
Long readLong() throws IOException;
/**
* Read rational.
*
* @return the byte
* @throws IOException Signals that an I/O exception has occurred.
*/
Rational readRational() throws IOException;
/**
* Read s byte.
*
* @return the byte
* @throws IOException Signals that an I/O exception has occurred.
*/
SByte readSByte() throws IOException;
/**
* Read undefined.
*
* @return the byte
* @throws IOException Signals that an I/O exception has occurred.
*/
Undefined readUndefined() throws IOException;
/**
* Read s short.
*
* @return the byte
* @throws IOException Signals that an I/O exception has occurred.
*/
SShort readSShort() throws IOException;
/**
* Read s long.
*
* @return the byte
* @throws IOException Signals that an I/O exception has occurred.
*/
SLong readSLong() throws IOException;
/**
* Read s rational.
*
* @return the byte
* @throws IOException Signals that an I/O exception has occurred.
*/
SRational readSRational() throws IOException;
/**
* Read float.
*
* @return the byte
* @throws IOException Signals that an I/O exception has occurred.
*/
Float readFloat() throws IOException;
/**
* Read double.
*
* @return the byte
* @throws IOException Signals that an I/O exception has occurred.
*/
Double readDouble() throws IOException;
}