Home | History | Annotate | Download | only in util

Lines Matching defs:Video

200     //Look for video links
201 Video video = Video.matchURL(url, text);
202 if (video != null) {
203 return video;
206 // Look for video links.
809 /** Represents a link to a Google Video. */
810 public static class Video extends Token {
811 /** Pattern for a video URL. */
813 "(?i)http://video\\.google\\.[a-z0-9]+(?:\\.[a-z0-9]+)?/videoplay\\?"
818 public Video(String docid, String text) {
828 /** Returns a Video object if the given url is to a video. */
829 public static Video matchURL(String url, String text) {
832 return new Video(m.group(1), text);
845 /** Returns the URL for the RSS description of the given video. */
847 return "http://video.google.com/videofeed"
851 /** (For testing purposes:) Returns a video URL with the given parts. */
856 /** (For testing purposes:) Returns a video URL with the given parts. */
863 return "http://video.google.com/videoplay?" + extraParams
868 /** Represents a link to a YouTube video. */
870 /** Pattern for a video URL. */
887 /** Returns a Video object if the given url is to a video. */
904 /** Returns the URL for the RSS description of the given video. */
909 /** (For testing purposes:) Returns a video URL with the given parts. */
914 /** (For testing purposes:) Returns a video URL with the given parts. */
924 /** (For testing purposes:) Returns a video URL with the given parts.
1275 // TODO: include a Google Video icon
1277 html.append(((Video)token).getURL(((Video)token).getDocID()));