com.canoo.webtest.extension
Class MimeType

java.lang.Object
  extended by com.canoo.webtest.extension.MimeType

public class MimeType
extends Object

Author:
Denis N. Antonioli

Nested Class Summary
protected static class MimeType.MediaRange
           
 
Field Summary
static MimeType ALL_MEDIA
           
 
Constructor Summary
MimeType(String mimeType)
           
 
Method Summary
 boolean match(String contentType)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

ALL_MEDIA

public static final MimeType ALL_MEDIA
Constructor Detail

MimeType

public MimeType(String mimeType)
Method Detail

match

public boolean match(String contentType)

toString

public String toString()
Overrides:
toString in class Object

Copyright © 2001-2007 Canoo Engineering AG, Basel. All rights reserved.