diff options
author | Björn Stenberg <bjorn@haxx.se> | 2007-01-08 23:53:00 +0000 |
---|---|---|
committer | Björn Stenberg <bjorn@haxx.se> | 2007-01-08 23:53:00 +0000 |
commit | 7039a05147b8bbfc829babea1c65bd436450b505 (patch) | |
tree | 4ba555eb84ed97b72b0575034d5b0530a393713e /songdbj/org/tritonus/share/sampled/file/TDataOutputStream.java | |
parent | 6d4c19707ef95942e323cbdc89fbbfdbe45e7cc5 (diff) | |
download | rockbox-7039a05147b8bbfc829babea1c65bd436450b505.tar.gz rockbox-7039a05147b8bbfc829babea1c65bd436450b505.zip |
Splitting out songdbj
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@11953 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'songdbj/org/tritonus/share/sampled/file/TDataOutputStream.java')
-rw-r--r-- | songdbj/org/tritonus/share/sampled/file/TDataOutputStream.java | 79 |
1 files changed, 0 insertions, 79 deletions
diff --git a/songdbj/org/tritonus/share/sampled/file/TDataOutputStream.java b/songdbj/org/tritonus/share/sampled/file/TDataOutputStream.java deleted file mode 100644 index eacc00a2e2..0000000000 --- a/songdbj/org/tritonus/share/sampled/file/TDataOutputStream.java +++ /dev/null | |||
@@ -1,79 +0,0 @@ | |||
1 | /* | ||
2 | * TDataOutputStream.java | ||
3 | * | ||
4 | * This file is part of Tritonus: http://www.tritonus.org/ | ||
5 | */ | ||
6 | |||
7 | /* | ||
8 | * Copyright (c) 1999 by Florian Bomers <http://www.bomers.de> | ||
9 | * | ||
10 | * | ||
11 | * This program is free software; you can redistribute it and/or modify | ||
12 | * it under the terms of the GNU Library General Public License as published | ||
13 | * by the Free Software Foundation; either version 2 of the License, or | ||
14 | * (at your option) any later version. | ||
15 | * | ||
16 | * This program is distributed in the hope that it will be useful, | ||
17 | * but WITHOUT ANY WARRANTY; without even the implied warranty of | ||
18 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | ||
19 | * GNU Library General Public License for more details. | ||
20 | * | ||
21 | * You should have received a copy of the GNU Library General Public | ||
22 | * License along with this program; if not, write to the Free Software | ||
23 | * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | ||
24 | * | ||
25 | */ | ||
26 | |||
27 | /* | ||
28 | |<--- this code is formatted to fit into 80 columns --->| | ||
29 | */ | ||
30 | |||
31 | package org.tritonus.share.sampled.file; | ||
32 | |||
33 | import java.io.DataOutput; | ||
34 | import java.io.IOException; | ||
35 | import java.io.InputStream; | ||
36 | |||
37 | |||
38 | /** | ||
39 | * Interface for the file writing classes. | ||
40 | * <p>Like that it is possible to write to a file without knowing | ||
41 | * the length before. | ||
42 | * | ||
43 | * @author Florian Bomers | ||
44 | */ | ||
45 | public interface TDataOutputStream | ||
46 | extends DataOutput | ||
47 | { | ||
48 | public boolean supportsSeek(); | ||
49 | |||
50 | |||
51 | |||
52 | public void seek(long position) | ||
53 | throws IOException; | ||
54 | |||
55 | |||
56 | |||
57 | public long getFilePointer() | ||
58 | throws IOException; | ||
59 | |||
60 | |||
61 | |||
62 | public long length() | ||
63 | throws IOException; | ||
64 | |||
65 | |||
66 | public void writeLittleEndian32(int value) | ||
67 | throws IOException; | ||
68 | |||
69 | |||
70 | public void writeLittleEndian16(short value) | ||
71 | throws IOException; | ||
72 | |||
73 | public void close() | ||
74 | throws IOException; | ||
75 | } | ||
76 | |||
77 | |||
78 | |||
79 | /*** TDataOutputStream.java ***/ | ||