package org.archive.format.cdx;


public class CDXLine extends FieldSplitLine implements CDXFieldConstants {

	public CDXLine(String line, FieldSplitFormat names) {
		super(line, ' ', names);
	}
	
	public CDXLine(CDXLine line, FieldSplitFormat selectNames)
	{
		super(line.selectValues(selectNames), selectNames);
	}

	public String getUrlKey() {
		return super.getField(CDXLine.urlkey);
	}

	public String getTimestamp() {
		return super.getField(CDXLine.timestamp);
	}

	public String getOriginalUrl() {
		return super.getField(CDXLine.original);
	}

	public String getMimeType() {
		return super.getField(CDXLine.mimetype);
	}
	
	public void setMimeType(String newMime) {
		setField(CDXLine.mimetype, newMime);
	}

	public String getStatusCode() {
		return super.getField(CDXLine.statuscode);
	}

	public String getDigest() {
		return super.getField(CDXLine.digest);
	}

	public String getLength() {
		return super.getField(CDXLine.length);
	}

	protected String getOffset() {
		return super.getField(CDXLine.length);
	}

	protected String getFilename() {
		return super.getField(CDXLine.filename);
	}
}

@@ -939,32 +939,29 @@
 gth);%0A%09%7D%0A%0A%09p
-rotected
+ublic
  String getO
@@ -1021,16 +1021,13 @@
 %0A%0A%09p
-rotected
+ublic
  Str

make getFilename() public