mirror of
https://github.com/processing/processing4.git
synced 2026-02-14 10:55:38 +01:00
work on wrapping up XML changes
This commit is contained in:
@@ -43,9 +43,10 @@ public class TableODS extends Table {
|
||||
*/
|
||||
protected TableODS(InputStream input, String worksheet, boolean actual) {
|
||||
try {
|
||||
InputStreamReader isr = new InputStreamReader(input, "UTF-8");
|
||||
BufferedReader reader = new BufferedReader(isr);
|
||||
read(reader, worksheet, actual);
|
||||
// InputStreamReader isr = new InputStreamReader(input, "UTF-8");
|
||||
// BufferedReader reader = new BufferedReader(isr);
|
||||
// read(reader, worksheet, actual);
|
||||
read(input, worksheet, actual);
|
||||
|
||||
} catch (UnsupportedEncodingException uee) {
|
||||
uee.printStackTrace();
|
||||
@@ -59,8 +60,11 @@ public class TableODS extends Table {
|
||||
}
|
||||
|
||||
|
||||
protected void read(BufferedReader reader, String worksheet, boolean actual) throws IOException, ParserConfigurationException, SAXException {
|
||||
XML xml = new XML(reader);
|
||||
// protected void read(BufferedReader reader, String worksheet, boolean actual) throws IOException, ParserConfigurationException, SAXException {
|
||||
// XML xml = new XML(reader);
|
||||
protected void read(InputStream input, String worksheet, boolean actual) throws IOException, ParserConfigurationException, SAXException {
|
||||
XML xml = new XML(input);
|
||||
|
||||
// XML x = new XML(reader);
|
||||
// PApplet.saveStrings(new File("/Users/fry/Desktop/namespacefix.xml"), new String[] { xml.toString() });
|
||||
// PApplet.saveStrings(new File("/Users/fry/Desktop/newparser.xml"), new String[] { x.toString() });
|
||||
|
||||
Reference in New Issue
Block a user