Methods Summary |
---|
public java.lang.String | getExtension()Return the filename extension for this mapping.
if (this.extension == null) {
this.extension = "";
}
return this.extension;
|
public java.lang.String | getMimeType()Get the mime type for this mapping.
if (this.mimeType == null) {
this.mimeType = "";
}
return this.mimeType;
|
public void | print(java.lang.StringBuffer toStringBuffer)My pretty format.
toStringBuffer.append("MimeMapping: ").append(this.getExtension()).append("@").append(this.getMimeType());
|
public void | setExtension(java.lang.String extension)Set the filename extension for this mapping.
this.extension = extension;
|
public void | setMimeType(java.lang.String mimeType)Set the mime type for this mapping.
this.mimeType = mimeType;
|