aboutsummaryrefslogtreecommitdiff
path: root/java/com/xagasoft/gats/GatsObject.java
diff options
context:
space:
mode:
authorMike Buland <eichlan@xagasoft.com>2011-04-21 17:57:04 +0000
committerMike Buland <eichlan@xagasoft.com>2011-04-21 17:57:04 +0000
commit757042bd5748389d3b984bbff72c2b2e3d9d5dd0 (patch)
tree6e9c18d4dc5240e6710b0a44c44c852e09cc070a /java/com/xagasoft/gats/GatsObject.java
parent4fb4a056c52d3a96b6ef9a4ceb5ce39fc716a9aa (diff)
downloadlibgats-757042bd5748389d3b984bbff72c2b2e3d9d5dd0.tar.gz
libgats-757042bd5748389d3b984bbff72c2b2e3d9d5dd0.tar.bz2
libgats-757042bd5748389d3b984bbff72c2b2e3d9d5dd0.tar.xz
libgats-757042bd5748389d3b984bbff72c2b2e3d9d5dd0.zip
You can read and write integers now. Other types should be pretty easy from here.
Diffstat (limited to 'java/com/xagasoft/gats/GatsObject.java')
-rw-r--r--java/com/xagasoft/gats/GatsObject.java1
1 files changed, 1 insertions, 0 deletions
diff --git a/java/com/xagasoft/gats/GatsObject.java b/java/com/xagasoft/gats/GatsObject.java
index 852a18c..031dc90 100644
--- a/java/com/xagasoft/gats/GatsObject.java
+++ b/java/com/xagasoft/gats/GatsObject.java
@@ -15,6 +15,7 @@ public abstract class GatsObject
15 public abstract int getType(); 15 public abstract int getType();
16 16
17 public abstract void read( InputStream is, char cType ) throws java.io.IOException; 17 public abstract void read( InputStream is, char cType ) throws java.io.IOException;
18 public abstract void write( OutputStream os ) throws java.io.IOException;
18 19
19 public static GatsObject read( InputStream is ) throws java.io.IOException 20 public static GatsObject read( InputStream is ) throws java.io.IOException
20 { 21 {