class Mail::ContentLocationField

def decoded

def decoded
  location 
end

def element

def element
  @element ||= Mail::ContentLocationElement.new(value)
end

def encoded

TODO: Fix this up
def encoded
  "#{CAPITALIZED_FIELD}: #{location}\r\n"
end

def initialize(value = nil, charset = 'utf-8')

def initialize(value = nil, charset = 'utf-8')
  self.charset = charset
  super(CAPITALIZED_FIELD, strip_field(FIELD_NAME, value), charset)
  self.parse
  self
end

def location

def location
  element.location
end

def parse(val = value)

def parse(val = value)
  unless val.blank?
    @element = Mail::ContentLocationElement.new(val)
  end
end