public class MediaUrlValidator extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
MediaUrlValidator.MediaType
Media type declaration.
|
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
MEDIA_TYPE_AUDIO
media type name for audio content
|
static java.lang.String |
MEDIA_TYPE_PHOTO
media type name for photo/image content
|
static java.lang.String |
MEDIA_TYPE_UNKNOWN
media type name for unknown/unspecified content
|
static java.lang.String |
MEDIA_TYPE_VIDEO
media type name for video content
|
Constructor and Description |
---|
MediaUrlValidator() |
Modifier and Type | Method and Description |
---|---|
MediaUrlValidator.MediaType |
validateUrl(java.lang.String url) |
public static final java.lang.String MEDIA_TYPE_AUDIO
public static final java.lang.String MEDIA_TYPE_PHOTO
public static final java.lang.String MEDIA_TYPE_VIDEO
public static final java.lang.String MEDIA_TYPE_UNKNOWN
public MediaUrlValidator()
public MediaUrlValidator.MediaType validateUrl(java.lang.String url)
url
- Copyright © 2015 Tampere University of Technology, Pori Department.