class WARCRecord {

    public static String extractHTTPHeaderCharset(String httpHeaderText)
            throws IOException
    {
        if (httpHeaderText == null) {
            throw new IOException("httpHeaderText parameter is null");
        }

        Matcher matcher = CHARSET_PATTERN.matcher(httpHeaderText);

        if (matcher.find()) {
            return matcher.group(1).toLowerCase();
        }

        return null;
    }

    public  WARCRecord(DataInput in);
    public  WARCRecord(WARCRecord other);

}