Project Wonder 5.0

er.attachment.utils
Class ERGlobMimeType

java.lang.Object
  extended by er.attachment.utils.ERMimeType
      extended by er.attachment.utils.ERGlobMimeType

public class ERGlobMimeType
extends ERMimeType

ERGlobMimeType represents an "image/*" style mime type.

Author:
mschrag

Constructor Summary
ERGlobMimeType(java.lang.String _mimeType)
          Constructs an ERGlobMimeType.
 
Method Summary
 com.webobjects.foundation.NSArray<java.lang.String> extensions()
          Returns the list of extensions that map to this mime type.
 java.lang.String uti()
          Returns the universal type identifier.
 
Methods inherited from class er.attachment.utils.ERMimeType
globMimeType, isAudio, isImage, isRepresentedByExtension, isVideo, matches, matchesExactly, mimeType, name, primaryExtension, subtype, toString, type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ERGlobMimeType

public ERGlobMimeType(java.lang.String _mimeType)
Constructs an ERGlobMimeType.

Parameters:
_mimeType - the glob mime type (i.e. image/*)
Method Detail

uti

public java.lang.String uti()
Description copied from class: ERMimeType
Returns the universal type identifier.

Overrides:
uti in class ERMimeType
Returns:
the universal type identifier

extensions

public com.webobjects.foundation.NSArray<java.lang.String> extensions()
Description copied from class: ERMimeType
Returns the list of extensions that map to this mime type.

Overrides:
extensions in class ERMimeType
Returns:
the list of extensions that map to this mime type

Last updated: Tue, Feb 21, 2017 • 05:45 PM CET

Copyright © 2002 – 2007 Project Wonder.