org.jpedal.io.RandomAccessBuffer Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of OpenViewerFX Show documentation
Show all versions of OpenViewerFX Show documentation
Open Source (LGPL) JavaFX PDF Viewer for NetBeans plugin
/*
* ===========================================
* Java Pdf Extraction Decoding Access Library
* ===========================================
*
* Project Info: http://www.idrsolutions.com
* Help section for developers at http://www.idrsolutions.com/support/
*
* (C) Copyright 1997-2017 IDRsolutions and Contributors.
*
* This file is part of JPedal/JPDF2HTML5
*
@LICENSE@
*
* ---------------
* RandomAccessBuffer.java
* ---------------
*/
package org.jpedal.io;
import java.io.IOException;
public interface RandomAccessBuffer {
long getFilePointer() throws IOException;
void seek(long pos) throws IOException;
@SuppressWarnings("UnusedDeclaration")
int read() throws IOException;
String readLine() throws IOException;
long length() throws IOException;
void close() throws IOException;
@SuppressWarnings("UnusedReturnValue")
int read(byte[] b) throws IOException;
byte[] getPdfBuffer();
}