org.fourthline.cling.model.meta.Device.getRoot()方法的使用及代码示例

x33g5p2x  于2022-01-18 转载在 其他  
字(1.5k)|赞(0)|评价(0)|浏览(96)

本文整理了Java中org.fourthline.cling.model.meta.Device.getRoot()方法的一些代码示例,展示了Device.getRoot()的具体用法。这些代码示例主要来源于Github/Stackoverflow/Maven等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Device.getRoot()方法的具体详情如下:
包路径:org.fourthline.cling.model.meta.Device
类名称:Device
方法名:getRoot

Device.getRoot介绍

暂无

代码示例

代码示例来源:origin: 4thline/cling

  1. /**
  2. * Performance optimization, avoids URI manipulation.
  3. */
  4. public String getDescriptorPathString(Device device) {
  5. return decodedPath + getDevicePath(device.getRoot()) + DESCRIPTOR_FILE;
  6. }

代码示例来源:origin: 4thline/cling

  1. public URI getDescriptorPath(Device device) {
  2. return appendPathToBaseURI(getDevicePath(device.getRoot()) + DESCRIPTOR_FILE);
  3. }

代码示例来源:origin: 4thline/cling

  1. public void init(Service service) {
  2. this.service = service;
  3. view.setPresenter(this);
  4. view.setTitle("WAN IP Connection on " + service.getDevice().getRoot().getDetails().getFriendlyName());
  5. portMappingPresenter.init(
  6. view.getPortMappingListView(),
  7. view.getPortMappingEditView(),
  8. service,
  9. this
  10. );
  11. updateConnectionInfo();
  12. }

代码示例来源:origin: kingthy/TVRemoteIME

  1. public URI getDescriptorPath(Device device) {
  2. return URI.create(getPath(device.getRoot()).toString() + DESCRIPTOR_FILE);
  3. }

代码示例来源:origin: org.fourthline.cling/cling-core

  1. /**
  2. * Performance optimization, avoids URI manipulation.
  3. */
  4. public String getDescriptorPathString(Device device) {
  5. return decodedPath + getDevicePath(device.getRoot()) + DESCRIPTOR_FILE;
  6. }

代码示例来源:origin: org.fourthline.cling/cling-core

  1. public URI getDescriptorPath(Device device) {
  2. return appendPathToBaseURI(getDevicePath(device.getRoot()) + DESCRIPTOR_FILE);
  3. }

相关文章