diff options
Diffstat (limited to 'ardor3d-extras/src/main')
-rw-r--r-- | ardor3d-extras/src/main/java/com/ardor3d/extension/model/off/OffImporter.java | 38 |
1 files changed, 0 insertions, 38 deletions
diff --git a/ardor3d-extras/src/main/java/com/ardor3d/extension/model/off/OffImporter.java b/ardor3d-extras/src/main/java/com/ardor3d/extension/model/off/OffImporter.java index 80221fd..4a10098 100644 --- a/ardor3d-extras/src/main/java/com/ardor3d/extension/model/off/OffImporter.java +++ b/ardor3d-extras/src/main/java/com/ardor3d/extension/model/off/OffImporter.java @@ -169,44 +169,6 @@ public class OffImporter { } } -// public static interface OffReader extends Closeable { -// public double read() throws IOException; -// } - -// public static class AsciiOffReader implements OffReader { -// -// private final OffFileParser parser; -// private final BufferedReader reader; -// -// public AsciiOffReader(final InputStream stream) { -// super(); -// reader = new BufferedReader(new InputStreamReader(stream, StandardCharsets.US_ASCII)); -// parser = new OffFileParser(reader); -// } -// -// @Override -// public double read() throws IOException { -// do { -// parser.nextToken(); -// } while (parser.ttype != StreamTokenizer.TT_WORD && parser.ttype != StreamTokenizer.TT_EOF); -// if (parser.ttype == StreamTokenizer.TT_WORD) { -// try { -// parser.nval = Double.valueOf(parser.sval).doubleValue(); -// return parser.nval; -// } catch (final NumberFormatException nbe) { -// throw new IOException("Unparsable string " + parser.sval, nbe); -// } -// } else { -// throw new IOException("No number to read, end of file reached"); -// } -// } -// -// @Override -// public void close() throws IOException { -// reader.close(); -// } -// } - private static final Logger LOGGER = Logger.getLogger(OffImporter.class.getName()); public static class OffFileParser extends StreamTokenizer implements Closeable { |