From 450be0f4ad2b360e3b9c6bc89c1eff3da087ce54 Mon Sep 17 00:00:00 2001 From: Josh Micich Date: Fri, 24 Oct 2008 04:30:38 +0000 Subject: Removed String methods from LittleEndianInput git-svn-id: https://svn.apache.org/repos/asf/poi/trunk@707541 13f79535-47bb-0310-9956-ffa450edef68 --- .../poi/util/LittleEndianByteArrayInputStream.java | 16 ---------------- 1 file changed, 16 deletions(-) (limited to 'src/java/org/apache/poi/util/LittleEndianByteArrayInputStream.java') 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); - } } -- cgit v1.2.3