source: trunk/icedtea-web/netx/javax/jnlp/JNLPRandomAccessFile.java

Last change on this file was 348, checked in by dmik, 13 years ago

vendor: Add icedtea-web v1.1.2 to current.

File size: 2.4 KB
Line 
1package javax.jnlp;
2
3public interface JNLPRandomAccessFile extends java.io.DataInput, java.io.DataOutput {
4
5 public void close() throws java.io.IOException;
6
7 public long length() throws java.io.IOException;
8
9 public long getFilePointer() throws java.io.IOException;
10
11 public int read() throws java.io.IOException;
12
13 public int read(byte[] b, int off, int len) throws java.io.IOException;
14
15 public int read(byte[] b) throws java.io.IOException;
16
17 public void readFully(byte[] b) throws java.io.IOException;
18
19 public void readFully(byte[] b, int off, int len) throws java.io.IOException;
20
21 public int skipBytes(int n) throws java.io.IOException;
22
23 public boolean readBoolean() throws java.io.IOException;
24
25 public byte readByte() throws java.io.IOException;
26
27 public int readUnsignedByte() throws java.io.IOException;
28
29 public short readShort() throws java.io.IOException;
30
31 public int readUnsignedShort() throws java.io.IOException;
32
33 public char readChar() throws java.io.IOException;
34
35 public int readInt() throws java.io.IOException;
36
37 public long readLong() throws java.io.IOException;
38
39 public float readFloat() throws java.io.IOException;
40
41 public double readDouble() throws java.io.IOException;
42
43 public java.lang.String readLine() throws java.io.IOException;
44
45 public java.lang.String readUTF() throws java.io.IOException;
46
47 public void seek(long pos) throws java.io.IOException;
48
49 public void setLength(long newLength) throws java.io.IOException;
50
51 public void write(int b) throws java.io.IOException;
52
53 public void write(byte[] b) throws java.io.IOException;
54
55 public void write(byte[] b, int off, int len) throws java.io.IOException;
56
57 public void writeBoolean(boolean v) throws java.io.IOException;
58
59 public void writeByte(int v) throws java.io.IOException;
60
61 public void writeShort(int v) throws java.io.IOException;
62
63 public void writeChar(int v) throws java.io.IOException;
64
65 public void writeInt(int v) throws java.io.IOException;
66
67 public void writeLong(long v) throws java.io.IOException;
68
69 public void writeFloat(float v) throws java.io.IOException;
70
71 public void writeDouble(double v) throws java.io.IOException;
72
73 public void writeBytes(java.lang.String s) throws java.io.IOException;
74
75 public void writeChars(java.lang.String s) throws java.io.IOException;
76
77 public void writeUTF(java.lang.String str) throws java.io.IOException;
78
79}
Note: See TracBrowser for help on using the repository browser.