1 7 8 package javax.jnlp; 9 import java.io.File; 10 import java.io.DataInput; 11 import java.io.DataOutput; 12 import java.io.IOException; 13 14 42 43 public interface JNLPRandomAccessFile extends DataInput, DataOutput { 44 45 53 public void close() throws IOException; 54 55 61 public long length() throws IOException; 62 63 70 public long getFilePointer() throws IOException; 71 72 87 public int read() throws IOException; 88 89 107 public int read(byte [] b, int off, int len) throws IOException; 108 109 125 public int read(byte [] b) throws IOException; 126 127 139 public void readFully(byte [] b) throws IOException; 140 141 155 public void readFully(byte b[], int off, int len) throws IOException; 156 157 173 public int skipBytes(int n) throws IOException; 174 175 187 public boolean readBoolean() throws IOException; 188 189 207 public byte readByte() throws IOException; 208 209 222 public int readUnsignedByte() throws IOException; 223 224 244 public short readShort() throws IOException; 245 246 266 public int readUnsignedShort() throws IOException; 267 268 287 public char readChar() throws IOException; 288 289 309 public int readInt() throws IOException; 310 311 339 public long readLong() throws IOException; 340 341 359 public float readFloat() throws IOException; 360 361 379 public double readDouble() throws IOException; 380 381 404 public String readLine() throws IOException; 405 406 429 public String readUTF() throws IOException; 430 431 445 public void seek(long pos) throws IOException; 446 447 465 public void setLength(long newLength) throws IOException; 466 467 474 public void write(int b) throws IOException; 475 476 483 public void write(byte b[]) throws IOException; 484 485 494 public void write(byte b[], int off, int len) throws IOException; 495 496 506 public void writeBoolean(boolean v) throws IOException; 507 508 515 public void writeByte(int v) throws IOException; 516 517 524 public void writeShort(int v) throws IOException; 525 526 534 public void writeChar(int v) throws IOException; 535 536 543 public void writeInt(int v) throws IOException; 544 545 552 public void writeLong(long v) throws IOException; 553 554 564 public void writeFloat(float v) throws IOException; 565 566 576 public void writeDouble(double v) throws IOException; 577 578 587 public void writeBytes(String s) throws IOException; 588 589 599 public void writeChars(String s) throws IOException; 600 601 616 public void writeUTF(String str) throws IOException; 617 618 } 619 620 621 | Popular Tags |