class IfcSpfReader {

    public static String slurp(InputStream in) throws IOException {
        StringBuilder out = new StringBuilder();
        byte[] b = new byte[4096];
        for (int n; (n = in.read(b)) != -1;) {
            out.append(new String(b, 0, n));
        }
        return out.toString();
    }

}

class TestIfcSpfReader {

    private IfcSpfReader reader;

    @Test
    public final void testSlurp() {

        // reader.slurp(in)
    }

}