org.apache.james.mime4j.field
Class ContentTransferEncodingField
java.lang.Object
org.apache.james.mime4j.field.AbstractField
org.apache.james.mime4j.field.ContentTransferEncodingField
- All Implemented Interfaces:
- ParsedField, Field
public class ContentTransferEncodingField
- extends AbstractField
Represents a Content-Transfer-Encoding
field.
getEncoding
public String getEncoding()
- Gets the encoding defined in this field.
- Returns:
- the encoding or an empty string if not set.
getEncoding
public static String getEncoding(ContentTransferEncodingField f)
- Gets the encoding of the given field if. Returns the default
7bit
if not set or if f
is
null
.
- Returns:
- the encoding.
Copyright © 2004-2012 JBoss by Red Hat. All Rights Reserved.