|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xnap.search.AnythingMediaType
public class AnythingMediaType
Provides the media type that matches any file.
| Constructor Summary | |
|---|---|
AnythingMediaType()
|
|
| Method Summary | |
|---|---|
java.lang.String |
getName()
Returns the translation of "Default". |
java.lang.String |
getRealm()
Returns "anything". |
boolean |
matches(java.lang.String filename)
Always returns true; |
java.lang.String |
toString()
Returns the value of getName(). |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AnythingMediaType()
| Method Detail |
|---|
public java.lang.String getName()
getName in interface MediaTypepublic java.lang.String getRealm()
getRealm in interface MediaTypepublic boolean matches(java.lang.String filename)
matches in interface MediaTypepublic java.lang.String toString()
getName().
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||