亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? didlcontent.java

?? android_UPNP_DLNA_控制點(diǎn)
?? JAVA
字號(hào):
/* * Copyright (C) 2010 Teleal GmbH, Switzerland * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Lesser General Public License as * published by the Free Software Foundation, either version 3 of * the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the * GNU Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public License * along with this program.  If not, see <http://www.gnu.org/licenses/>. */package org.teleal.cling.support.model;import org.teleal.cling.support.model.container.Album;import org.teleal.cling.support.model.container.Container;import org.teleal.cling.support.model.container.GenreContainer;import org.teleal.cling.support.model.container.MovieGenre;import org.teleal.cling.support.model.container.MusicAlbum;import org.teleal.cling.support.model.container.MusicArtist;import org.teleal.cling.support.model.container.MusicGenre;import org.teleal.cling.support.model.container.PersonContainer;import org.teleal.cling.support.model.container.PhotoAlbum;import org.teleal.cling.support.model.container.PlaylistContainer;import org.teleal.cling.support.model.container.StorageFolder;import org.teleal.cling.support.model.container.StorageSystem;import org.teleal.cling.support.model.container.StorageVolume;import org.teleal.cling.support.model.item.AudioBook;import org.teleal.cling.support.model.item.AudioBroadcast;import org.teleal.cling.support.model.item.AudioItem;import org.teleal.cling.support.model.item.ImageItem;import org.teleal.cling.support.model.item.Item;import org.teleal.cling.support.model.item.Movie;import org.teleal.cling.support.model.item.MusicTrack;import org.teleal.cling.support.model.item.MusicVideoClip;import org.teleal.cling.support.model.item.Photo;import org.teleal.cling.support.model.item.PlaylistItem;import org.teleal.cling.support.model.item.TextItem;import org.teleal.cling.support.model.item.VideoBroadcast;import org.teleal.cling.support.model.item.VideoItem;import java.util.ArrayList;import java.util.List;/** * @author Christian Bauer */public class DIDLContent {    public static final String NAMESPACE_URI = "urn:schemas-upnp-org:metadata-1-0/DIDL-Lite/";    public static final String DESC_WRAPPER_NAMESPACE_URI = "urn:teleal-org:cling:support:content-directory-desc-1-0";    protected List<Container> containers = new ArrayList();    protected List<Item> items = new ArrayList();    protected List<DescMeta> descMetadata = new ArrayList();    public Container getFirstContainer() {        return getContainers().get(0);    }    public DIDLContent addContainer(Container container) {        getContainers().add(container);        return this;    }    public List<Container> getContainers() {        return containers;    }    public void setContainers(List<Container> containers) {        this.containers = containers;    }    public DIDLContent addItem(Item item) {        getItems().add(item);        return this;    }    public List<Item> getItems() {        return items;    }    public void setItems(List<Item> items) {        this.items = items;    }    public DIDLContent addDescMetadata(DescMeta descMetadata) {        getDescMetadata().add(descMetadata);        return this;    }    public List<DescMeta> getDescMetadata() {        return descMetadata;    }    public void setDescMetadata(List<DescMeta> descMetadata) {        this.descMetadata = descMetadata;    }    public void replaceGenericContainerAndItems() {        setItems(replaceGenericItems(getItems()));        setContainers(replaceGenericContainers(getContainers()));    }    protected List<Item> replaceGenericItems(List<Item> genericItems) {        List<Item> specificItems = new ArrayList();        for (Item genericItem : genericItems) {            String genericType = genericItem.getClazz().getValue();            if (AudioItem.CLASS.getValue().equals(genericType)) {                specificItems.add(new AudioItem(genericItem));            } else if (MusicTrack.CLASS.getValue().equals(genericType)) {                specificItems.add(new MusicTrack(genericItem));            } else if (AudioBook.CLASS.getValue().equals(genericType)) {                specificItems.add(new AudioBook(genericItem));            } else if (AudioBroadcast.CLASS.getValue().equals(genericType)) {                specificItems.add(new AudioBroadcast(genericItem));            } else if (VideoItem.CLASS.getValue().equals(genericType)) {                specificItems.add(new VideoItem(genericItem));            } else if (Movie.CLASS.getValue().equals(genericType)) {                specificItems.add(new Movie(genericItem));            } else if (VideoBroadcast.CLASS.getValue().equals(genericType)) {                specificItems.add(new VideoBroadcast(genericItem));            } else if (MusicVideoClip.CLASS.getValue().equals(genericType)) {                specificItems.add(new MusicVideoClip(genericItem));            } else if (ImageItem.CLASS.getValue().equals(genericType)) {                specificItems.add(new ImageItem(genericItem));            } else if (Photo.CLASS.getValue().equals(genericType)) {                specificItems.add(new Photo(genericItem));            } else if (PlaylistItem.CLASS.getValue().equals(genericType)) {                specificItems.add(new PlaylistItem(genericItem));            } else if (TextItem.CLASS.getValue().equals(genericType)) {                specificItems.add(new TextItem(genericItem));            } else {                specificItems.add(genericItem);            }        }        return specificItems;    }    protected List<Container> replaceGenericContainers(List<Container> genericContainers) {        List<Container> specificContainers = new ArrayList();        for (Container genericContainer : genericContainers) {            String genericType = genericContainer.getClazz().getValue();            Container specific;            if (Album.CLASS.getValue().equals(genericType)) {                specific = new Album(genericContainer);            } else if (MusicAlbum.CLASS.getValue().equals(genericType)) {                specific = new MusicAlbum(genericContainer);            } else if (PhotoAlbum.CLASS.getValue().equals(genericType)) {                specific = new PhotoAlbum(genericContainer);            } else if (GenreContainer.CLASS.getValue().equals(genericType)) {                specific = new GenreContainer(genericContainer);            } else if (MusicGenre.CLASS.getValue().equals(genericType)) {                specific = new MusicGenre(genericContainer);            } else if (MovieGenre.CLASS.getValue().equals(genericType)) {                specific = new MovieGenre(genericContainer);            } else if (PlaylistContainer.CLASS.getValue().equals(genericType)) {                specific = new PlaylistContainer(genericContainer);            } else if (PersonContainer.CLASS.getValue().equals(genericType)) {                specific = new PersonContainer(genericContainer);            } else if (MusicArtist.CLASS.getValue().equals(genericType)) {                specific = new MusicArtist(genericContainer);            } else if (StorageSystem.CLASS.getValue().equals(genericType)) {                specific = new StorageSystem(genericContainer);            } else if (StorageVolume.CLASS.getValue().equals(genericType)) {                specific = new StorageVolume(genericContainer);            } else if (StorageFolder.CLASS.getValue().equals(genericType)) {                specific = new StorageFolder(genericContainer);            } else {                specific = genericContainer;            }            specific.setItems(replaceGenericItems(genericContainer.getItems()));            specificContainers.add(specific);        }        return specificContainers;    }}

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美一区二视频| 亚洲激情网站免费观看| 欧美日韩精品一区二区| 日韩一级片在线播放| 日韩精品中文字幕在线不卡尤物| 国产精品99久久久久久久女警| 丁香婷婷深情五月亚洲| 色呦呦网站一区| 日韩主播视频在线| 精品一二三四区| 99精品国产99久久久久久白柏| 欧美在线小视频| 欧美成人在线直播| 欧美日韩成人综合天天影院| 精品国产免费一区二区三区四区 | 青青草97国产精品免费观看| 奇米精品一区二区三区在线观看一| 狠狠色综合色综合网络| 精品视频在线免费| 国产视频亚洲色图| 亚洲国产日韩av| 蜜桃精品在线观看| 一本一道久久a久久精品综合蜜臀| 在线播放欧美女士性生活| 色婷婷精品久久二区二区蜜臂av| 97精品视频在线观看自产线路二| 欧美一区二区免费| 亚洲人成亚洲人成在线观看图片| 极品少妇xxxx精品少妇偷拍| 在线观看欧美日本| 色综合久久综合网97色综合 | 亚洲激情一二三区| 精品一区二区日韩| 欧美一区二区三区在线观看视频 | 国产一区二区不卡在线| 精品1区2区3区| 亚洲老妇xxxxxx| 91美女视频网站| 国产精品国模大尺度视频| 亚洲精品免费视频| 99久久婷婷国产| 亚洲欧美日韩小说| 91麻豆国产香蕉久久精品| 国产盗摄女厕一区二区三区| 欧美日韩国产精品自在自线| 一区二区三区免费| 91啪亚洲精品| 亚洲午夜激情av| 欧美中文字幕久久| 青青草视频一区| 日韩免费高清电影| 国内精品第一页| 国产欧美一区二区在线观看| 亚洲精品国产第一综合99久久| 色综合网站在线| 一区二区三区欧美亚洲| 亚洲国产精品成人综合 | 亚洲久草在线视频| 久久精品视频免费| 日韩一区二区三区视频在线| 91成人免费电影| hitomi一区二区三区精品| 久久99深爱久久99精品| 天堂久久一区二区三区| 亚洲日本免费电影| 日韩一区中文字幕| 亚洲国产精品国自产拍av| 2021中文字幕一区亚洲| 精品国产三级a在线观看| 欧美成人精品3d动漫h| 欧美老人xxxx18| 欧美精品国产精品| 欧美日韩高清一区二区不卡| 色欲综合视频天天天| av毛片久久久久**hd| 91麻豆高清视频| 色欧美日韩亚洲| 欧美天天综合网| 欧美精品亚洲二区| 欧美va亚洲va在线观看蝴蝶网| 日韩一区二区免费高清| 欧美成人vps| 国产欧美久久久精品影院| 国产精品区一区二区三区| 一区视频在线播放| 亚洲成人免费看| 久久99精品久久久| 丁香桃色午夜亚洲一区二区三区| 99麻豆久久久国产精品免费优播| eeuss鲁片一区二区三区在线看| 色综合激情久久| 日韩欧美在线不卡| 久久夜色精品一区| 日韩精品一区二区三区四区| 国产欧美精品一区aⅴ影院 | 天堂午夜影视日韩欧美一区二区| 性欧美疯狂xxxxbbbb| 精品一区二区久久| 91麻豆国产福利精品| 欧美一区二区精品| 久久精品亚洲麻豆av一区二区 | 国产精品午夜免费| 国产精品69久久久久水密桃| 欧美一区午夜视频在线观看| 免费成人av资源网| 欧美日韩黄色一区二区| 美女视频黄 久久| 久久久久国产免费免费| 91视频在线观看免费| 天堂久久一区二区三区| 国产午夜亚洲精品不卡| 在线精品视频一区二区| 久久精品av麻豆的观看方式| 综合欧美亚洲日本| 91精品国产一区二区| 色综合天天综合网国产成人综合天| 夜夜亚洲天天久久| 国产欧美精品在线观看| 欧美日韩精品免费观看视频 | 777久久久精品| 精品亚洲成av人在线观看| 亚洲精品成人悠悠色影视| 精品久久人人做人人爰| 欧美老肥妇做.爰bbww| 国产成人精品1024| 久久精品久久精品| 亚洲精品视频在线| 国产人久久人人人人爽| 欧美一区三区四区| 色婷婷精品久久二区二区蜜臀av | 欧美日韩国产在线播放网站| 黄色小说综合网站| 一区二区三区四区在线播放| 欧美xxxxxxxx| 欧美伊人精品成人久久综合97 | 欧美这里有精品| 免费人成黄页网站在线一区二区| 亚洲男女一区二区三区| 国产精品一二三四| 欧美最新大片在线看| 国产精品久久777777| 色婷婷精品大在线视频 | 欧美一级精品大片| 欧美精品丝袜久久久中文字幕| 欧美一级二级三级蜜桃| 亚洲一线二线三线久久久| 日韩成人一区二区三区在线观看| 丁香啪啪综合成人亚洲小说| 欧美性生活久久| 青娱乐精品在线视频| 国产成人精品亚洲日本在线桃色| 日韩一区二区三区av| 欧美激情一区二区三区不卡| 午夜精品久久久久久久| 欧美刺激脚交jootjob| 日韩一级视频免费观看在线| 亚洲欧美一区二区不卡| 国产精品99久久久久| 91精品国产综合久久精品麻豆| 欧美一级高清大全免费观看| 亚洲人123区| 日本sm残虐另类| 一本到高清视频免费精品| 欧美日韩在线免费视频| 久久久久国产精品人| 久久爱www久久做| 欧美sm美女调教| 美女精品自拍一二三四| 欧美在线观看视频在线| 国产精品嫩草影院av蜜臀| 免费不卡在线观看| 久久久久久一级片| 久久99精品久久久久| 欧美激情综合网| 日韩免费高清电影| 91色九色蝌蚪| 北岛玲一区二区三区四区| 天天操天天色综合| 亚洲二区视频在线| 香蕉久久夜色精品国产使用方法| 亚洲一区在线观看免费| 国产亚洲精品久| 欧美激情综合五月色丁香小说| 国产蜜臀97一区二区三区| 亚洲国产精品激情在线观看| 亚洲女同一区二区| 亚洲色图欧洲色图婷婷| 午夜激情久久久| 日本午夜精品视频在线观看| 国产曰批免费观看久久久| 美女任你摸久久| 福利91精品一区二区三区| 色婷婷综合久色| 欧美丰满少妇xxxxx高潮对白| 日韩精品一区二区三区swag| 欧美精品一区二区在线播放| 最新高清无码专区| 亚洲成人手机在线| 国产精品一区二区你懂的| 国内成+人亚洲+欧美+综合在线|