X-Git-Url: http://git.nikiroo.be/?a=blobdiff_plain;f=serial%2FExporter.java;h=8b04111979ddaa751548d11b56f7572381cc1fe2;hb=HEAD;hp=2470bde4dace9f6dd0ca73f61373991a4cbd4283;hpb=4d80d39c7631f8b0cea8a21ad9e428db1b4b5ec4;p=fanfix.git diff --git a/serial/Exporter.java b/serial/Exporter.java deleted file mode 100644 index 2470bde..0000000 --- a/serial/Exporter.java +++ /dev/null @@ -1,60 +0,0 @@ -package be.nikiroo.utils.serial; - -import java.io.IOException; -import java.io.NotSerializableException; -import java.io.OutputStream; -import java.util.HashMap; -import java.util.Map; - -/** - * A simple class to serialise objects to {@link String}. - *
- * This class does not support inner classes (it does support nested classes,
- * though).
- *
- * @author niki
- */
-public class Exporter {
- private Map
- * Important: If the operation fails (with a
- * {@link NotSerializableException}), the {@link Exporter} will be corrupted
- * (will contain bad, most probably not importable data).
- *
- * @param o
- * the object to serialise
- * @return this (for easier appending of multiple values)
- *
- * @throws NotSerializableException
- * if the object cannot be serialised (in this case, the
- * {@link Exporter} can contain bad, most probably not
- * importable data)
- * @throws IOException
- * in case of I/O error
- */
- public Exporter append(Object o) throws NotSerializableException,
- IOException {
- SerialUtils.append(out, o, map);
- return this;
- }
-}
\ No newline at end of file