1 package org.catacomb.dataview.read;
2
3
4
5
6 public class NumericContentType implements ContentType {
7
8
9
10
11
12 public boolean claims(byte[] ba) {
13 String s = new String(ba);
14 s = s.trim();
15 return (s.startsWith("org.catacomb"));
16 }
17
18
19 public ContentReader makeReader(byte[] ba, FUImportContext ctxt) {
20 return new NumericContentReader(ba, ctxt);
21 }
22
23
24
25 }