congrats Icon
New! Announcing Tabnine Chat Beta
Learn More
Tabnine Logo
ItemNode.getTitle
Code IndexAdd Tabnine to your IDE (free)

How to use
getTitle
method
in
org.cybergarage.upnp.std.av.server.object.item.ItemNode

Best Java code snippets using org.cybergarage.upnp.std.av.server.object.item.ItemNode.getTitle (Showing top 2 results out of 315)

origin: cybergarage/cybergarage-upnp

public Object getValueAt(int row, int col)
{
  //Debug.message("getValueAt(" + row + "," + col + ") = " + tableData[row][col]);
  if (hasDirectory() == false)
    return "";
  ContentNode cnode = getDirectory().getContentNode(row);
  if ((cnode instanceof ItemNode) == false)
    return "";
  ItemNode itemNode = (ItemNode)cnode;
  switch (col) {
  case 0: return itemNode.getTitle();
  case 1: return itemNode.getCreator();
  case 2: return itemNode.getDate();
  case 3: return Long.toString(itemNode.getStorageUsed());
  }
  return "";
}
origin: geniusgithub/MediaPlayer

   public static MediaItem create(ItemNode node){
     MediaItem item = new MediaItem();
     item.setStringid(node.getID());
     item.setTitle(node.getTitle());
     item.setObjectClass(node.getUPnPClass());
     item.setDate(node.getDateTime());
     item.setAlbum(node.getAlbum());
     item.setAlbumUri(node.getAlbumArtURI());
     item.setArtist(node.getArtist());
     ResourceNode resourceNode = node.getFirstResource();
     if (resourceNode != null){
       item.setRes(resourceNode.getURL());
       item.setprotocolInfo(resourceNode.getProtocolInfo());
       item.setDuration(DlnaUtil.formatDurationString(resourceNode.getDuration()));
       item.setSize(DlnaUtil.formatSizeString(resourceNode.getSize()));
     }
    return item;
   }
}
org.cybergarage.upnp.std.av.server.object.itemItemNodegetTitle

Popular methods of ItemNode

  • getID
  • <init>
  • getDateTime
  • getFirstResource
  • isItemNode
  • addNode
  • addResourceNode
  • getContentDirectory
  • getContentInputStream
  • getContentLength
  • getDate
  • getMimeType
  • getDate,
  • getMimeType,
  • getNResourceNodeLists,
  • getPropertyAttribureValue,
  • getPropertyLongValue,
  • getPropertyValue,
  • getProtocolInfo,
  • getResource,
  • getResourceNode

Popular in Java

  • Reading from database using SQL prepared statement
  • scheduleAtFixedRate (Timer)
  • getSupportFragmentManager (FragmentActivity)
  • setContentView (Activity)
  • IOException (java.io)
    Signals a general, I/O-related error. Error details may be specified when calling the constructor, a
  • Socket (java.net)
    Provides a client-side TCP socket.
  • Charset (java.nio.charset)
    A charset is a named mapping between Unicode characters and byte sequences. Every Charset can decode
  • PriorityQueue (java.util)
    A PriorityQueue holds elements on a priority heap, which orders the elements according to their natu
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • Top plugins for WebStorm
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now