Added marshaller for longs.

git-svn-id: https://samskivert.googlecode.com/svn/trunk@1881 6335cc39-0255-0410-8fd6-9bcaacd3b74c
This commit is contained in:
andrzej
2006-07-25 18:32:02 +00:00
parent 05054b0d09
commit cddcfa858e
@@ -77,6 +77,13 @@ public class ValueMarshaller
}
});
// and longs
_parsers.put(Long.TYPE, new Parser() {
public Object parse (String source) throws Exception {
return Long.valueOf(source);
}
});
// and floats
_parsers.put(Float.TYPE, new Parser() {
public Object parse (String source) throws Exception {