|
OOP MimeParser Version 3.5 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.bentofw.mime.InvalidContentTypeException
public class InvalidContentTypeException
When the Content-Type (mime type) of the uploaded file is invalid, this exception will be thrown by MimeParser.
| Method Summary | |
|---|---|
java.lang.String |
getAcceptMimeTypes()
Return the list of the mime-types to be accepted. |
java.util.Set |
getAcceptMimeTypesAsSet()
Return the Set object which includes the acceptable mime-types. |
java.lang.String |
getCurrentMimeType()
Return the mime-type of the file to be uploaded. |
java.lang.String |
getFileName()
Return the file name to be uploaded. |
java.lang.String |
getMessage()
|
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Method Detail |
|---|
public java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic java.lang.String getFileName()
public java.lang.String getCurrentMimeType()
public java.lang.String getAcceptMimeTypes()
public java.util.Set getAcceptMimeTypesAsSet()
|
OOP MimeParser Version 3.5 | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
ALL CONTENTS COPYRIGHT 2005, OOP-Research Corporation. All rights reserved.
Any questions and comments are welcome to OOP-Research Corporation.