org.archive.format.cdx.CDX11Line Maven / Gradle / Ivy
package org.archive.format.cdx;
public class CDX11Line extends CDXLine {
CDX11Line(String string, FieldSplitFormat selectNames) {
super(string, selectNames);
}
@Override
public String getUrlKey() {
return getField(0);
}
@Override
public String getTimestamp() {
return getField(1);
}
@Override
public String getOriginalUrl() {
return getField(2);
}
@Override
public String getMimeType() {
return getField(3);
}
@Override
public void setMimeType(String mime)
{
setField(3, mime);
}
@Override
public String getStatusCode() {
return getField(4);
}
@Override
public String getDigest() {
return getField(5);
}
@Override
public String getRedirect() {
return getField(6);
}
@Override
public String getRobotFlags() {
return getField(7);
}
@Override
public String getLength() {
return getField(8);
}
@Override
public String getOffset() {
return getField(9);
}
@Override
public String getFilename() {
return getField(10);
}
}