diff options
| author | Benjamin Culkin <scorpress@gmail.com> | 2024-07-08 17:30:58 -0400 |
|---|---|---|
| committer | Benjamin Culkin <scorpress@gmail.com> | 2024-07-08 17:30:58 -0400 |
| commit | 9c681f38b742b26b841eb42bc19879cb90ac03de (patch) | |
| tree | 6c1b9eb1971629cc3c42bae3bff9fd930d4af11c /projects/net.wotonomy.foundation/src/main/java/net/wotonomy/foundation/internal | |
| parent | 6d46c473d41c6c47e6b8bd8c676d925e544bd378 (diff) | |
Add XML property lists
Implement support for the XML property lists that are the newer version
of the ASCII ones. There are a few things that still need to be done,
but all of the basics are there
Next things
- Allow collapsing a property list into a series of objects
- Serialize both the property list and flattened objects to XML
Diffstat (limited to 'projects/net.wotonomy.foundation/src/main/java/net/wotonomy/foundation/internal')
| -rw-r--r-- | projects/net.wotonomy.foundation/src/main/java/net/wotonomy/foundation/internal/ReaderInputStream.java | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/projects/net.wotonomy.foundation/src/main/java/net/wotonomy/foundation/internal/ReaderInputStream.java b/projects/net.wotonomy.foundation/src/main/java/net/wotonomy/foundation/internal/ReaderInputStream.java new file mode 100644 index 0000000..48f8b55 --- /dev/null +++ b/projects/net.wotonomy.foundation/src/main/java/net/wotonomy/foundation/internal/ReaderInputStream.java @@ -0,0 +1,19 @@ +package net.wotonomy.foundation.internal; + +import java.io.IOException; +import java.io.InputStream; +import java.io.Reader; + +public class ReaderInputStream extends InputStream { + private Reader rdr; + + public ReaderInputStream(Reader rdr) { + this.rdr = rdr; + } + + @Override + public int read() throws IOException { + return rdr.read(); + } + +} |
