aboutsummaryrefslogtreecommitdiffstats
path: root/src/java/org/apache/poi/util/LittleEndianByteArrayInputStream.java
diff options
context:
space:
mode:
authorJosh Micich <josh@apache.org>2008-10-24 04:30:38 +0000
committerJosh Micich <josh@apache.org>2008-10-24 04:30:38 +0000
commit450be0f4ad2b360e3b9c6bc89c1eff3da087ce54 (patch)
tree5435f8315e12b903f746fdd5641d338273e29848 /src/java/org/apache/poi/util/LittleEndianByteArrayInputStream.java
parentdef87f5af777b834f578715bdf79da1ede13da3c (diff)
downloadpoi-450be0f4ad2b360e3b9c6bc89c1eff3da087ce54.tar.gz
poi-450be0f4ad2b360e3b9c6bc89c1eff3da087ce54.zip
Removed String methods from LittleEndianInput
git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@707541 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src/java/org/apache/poi/util/LittleEndianByteArrayInputStream.java')
-rw-r--r--src/java/org/apache/poi/util/LittleEndianByteArrayInputStream.java16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/java/org/apache/poi/util/LittleEndianByteArrayInputStream.java b/src/java/org/apache/poi/util/LittleEndianByteArrayInputStream.java
index 3ea0ab61a2..2729ab773a 100644
--- a/src/java/org/apache/poi/util/LittleEndianByteArrayInputStream.java
+++ b/src/java/org/apache/poi/util/LittleEndianByteArrayInputStream.java
@@ -114,20 +114,4 @@ public final class LittleEndianByteArrayInputStream implements LittleEndianInput
public double readDouble() {
return Double.longBitsToDouble(readLong());
}
- public String readCompressedUnicode(int nChars) {
- checkPosition(nChars);
- char[] buf = new char[nChars];
- for (int i = 0; i < buf.length; i++) {
- buf[i] = (char) readUByte();
- }
- return new String(buf);
- }
- public String readUnicodeLEString(int nChars) {
- checkPosition(nChars*2);
- char[] buf = new char[nChars];
- for (int i = 0; i < buf.length; i++) {
- buf[i] = (char) readUShort();
- }
- return new String(buf);
- }
}