本文整理了Java中org.fourthline.cling.model.meta.Device.getRoot()
方法的一些代码示例,展示了Device.getRoot()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Device.getRoot()
方法的具体详情如下:
包路径:org.fourthline.cling.model.meta.Device
类名称:Device
方法名:getRoot
暂无
代码示例来源:origin: 4thline/cling
/**
* Performance optimization, avoids URI manipulation.
*/
public String getDescriptorPathString(Device device) {
return decodedPath + getDevicePath(device.getRoot()) + DESCRIPTOR_FILE;
}
代码示例来源:origin: 4thline/cling
public URI getDescriptorPath(Device device) {
return appendPathToBaseURI(getDevicePath(device.getRoot()) + DESCRIPTOR_FILE);
}
代码示例来源:origin: 4thline/cling
public void init(Service service) {
this.service = service;
view.setPresenter(this);
view.setTitle("WAN IP Connection on " + service.getDevice().getRoot().getDetails().getFriendlyName());
portMappingPresenter.init(
view.getPortMappingListView(),
view.getPortMappingEditView(),
service,
this
);
updateConnectionInfo();
}
代码示例来源:origin: kingthy/TVRemoteIME
public URI getDescriptorPath(Device device) {
return URI.create(getPath(device.getRoot()).toString() + DESCRIPTOR_FILE);
}
代码示例来源:origin: org.fourthline.cling/cling-core
/**
* Performance optimization, avoids URI manipulation.
*/
public String getDescriptorPathString(Device device) {
return decodedPath + getDevicePath(device.getRoot()) + DESCRIPTOR_FILE;
}
代码示例来源:origin: org.fourthline.cling/cling-core
public URI getDescriptorPath(Device device) {
return appendPathToBaseURI(getDevicePath(device.getRoot()) + DESCRIPTOR_FILE);
}
内容来源于网络,如有侵权,请联系作者删除!