Package dk.netarkivet.testutils
Class ARCTestUtils
- java.lang.Object
-
- dk.netarkivet.testutils.ARCTestUtils
-
public class ARCTestUtils extends Object
-
-
Constructor Summary
Constructors Constructor Description ARCTestUtils()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static String
readARCRecord(org.archive.io.arc.ARCRecord ar)
Reads the content of the given record.
-
-
-
Method Detail
-
readARCRecord
public static String readARCRecord(org.archive.io.arc.ARCRecord ar)
Reads the content of the given record. Does not close the record - that causes trouble.- Parameters:
ar
- An ARCRecord to be read- Returns:
- The content of the record, as a String.
-
-