IP*Works! ZIP V8

ipworkszip
Class ContentType

java.lang.Object
  |
  +--ipworkszip.ContentType

public class ContentType
extends java.lang.Object

The Content Type entry as defined in the package

The content type represents an entry in the [Content_Types].xml file in the archive. It can either represent a default type associated with an extension, or an override specific to a given part in the archive.

IsOverride: Specifies if this is a default content type or an override.

MediaType: The media type for this entry, as defined by RFC2616.

Target: If it's a default content type, this will be the file extension it applies to. Otherwise, it will be the part name.

See Also:
Bzip2, Bzip2.ContentType

Constructor Summary
ContentType()
           
 
Method Summary
 boolean getIsOverride()
           
 java.lang.String getMediaType()
           
 java.lang.String getTarget()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ContentType

public ContentType()
Method Detail

getIsOverride

public boolean getIsOverride()

getMediaType

public java.lang.String getMediaType()

getTarget

public java.lang.String getTarget()

IP*Works! ZIP V8

Copyright (c) 2011 /n software inc. - All rights reserved.