Codota Logo
Util
Code IndexAdd Codota to your IDE (free)

How to use
Util
in
org.kafsemo.titl

Best Java code snippets using org.kafsemo.titl.Util (Showing top 12 results out of 315)

  • Add the Codota plugin to your IDE and get smart completions
private void myMethod () {
Point p =
  • Codota Iconnew Point(x, y)
  • Codota Iconnew Point()
  • Codota IconMouseEvent e;e.getPoint()
  • Smart code suggestions by Codota
}
origin: josephw/titl

  public String toString(byte[] libraryPersistentId)
  {
    StringBuilder sb = new StringBuilder();
    
    sb.append(dir.name());
    sb.append('/');
    
    String libDir = Util.pidToString(libraryPersistentId);

    sb.append(libDir);
    sb.append('/');
    sb.append(String.format("%02d", id[7] & 0x0F));
    sb.append('/');
    sb.append(String.format("%02d", (id[7] >> 4) & 0x0F));
    sb.append('/');
    sb.append(String.format("%02d", id[6] & 0x0F));
    
    sb.append('/' + libDir + "-" + Util.pidToString(id));

    sb.append(".itc");
    
    if (version != 1) {
      sb.append(version);
    }
    
    return sb.toString();
  }
}
origin: josephw/titl

String type = Util.toString(di.readInt());
consumed += 4;
  out.writeInt(Util.fromString(type));
  out.writeInt(length);
  out.writeInt(Util.fromString(type));
  out.writeInt(ba.length + 8);
  out.write(ba);
origin: josephw/titl

String type = Util.toString(di.readInt());
len -= 8;
Util.assertEquals("url ", type);
type = Util.toString(di.readInt());
len -= 8;
Util.assertEquals("link", type);
type = Util.toString(di.readInt());
len -= 8;
  type = Util.toString(di.readInt());
  len -= 8;
Util.assertEquals("aurl", type);
origin: josephw/titl

String type = Util.toString(di.readInt());
consumed += 4;
  if (Util.isIdentifier(type)) {
    throw new ItlException("Unhandled type: " + type);
  } else {
origin: josephw/titl

o.writeInt(Util.fromString("hdfm"));
origin: josephw/titl

String type = Util.toString(di.readInt());
System.out.println(type);
  type = Util.toString(di.readInt());
origin: josephw/titl

public static Hdfm read(Input di, long fileLength) throws IOException, ItlException
  assertEquals("hdfm", Util.toString(hdr));
origin: josephw/titl

String type = Util.toString(di.readInt());
consumed += 4;
  if (Util.isIdentifier(type)) {
    throw new ItlException("Unhandled type: " + type);
  } else {
origin: josephw/titl

private void readHptm(Input di, int length) throws IOException, ItlException
  byte[] type = ByteBuffer.allocate(4).putInt(Util.fromString("hptm")).array();
  byte[] len = ByteBuffer.allocate(4).putInt(length).array();
origin: josephw/titl

while (remaining > 0) {
  int bl = di.readInt();
  String type = Util.toString(di.readInt());
origin: josephw/titl

  return Util.pidToString(persistentId);
} else {
  artwork = new Artwork();
origin: josephw/titl

rw.handleStatement(new StatementImpl(res, ITUNES_PERSISTENT_ID, new LiteralImpl(Util.pidToString(persistentId))));
org.kafsemo.titlUtil

Most used methods

  • pidToString
  • assertEquals
  • fromString
  • isIdentifier
  • toString

Popular in Java

  • Creating JSON documents from java classes using gson
  • getApplicationContext (Context)
  • getResourceAsStream (ClassLoader)
    Returns a stream for the resource with the specified name. See #getResource(String) for a descriptio
  • setScale (BigDecimal)
    Returns a BigDecimal whose scale is the specified value, and whose value is numerically equal to thi
  • Font (java.awt)
    The Font class represents fonts, which are used to render text in a visible way. A font provides the
  • FileOutputStream (java.io)
    A file output stream is an output stream for writing data to aFile or to a FileDescriptor. Whether
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • Collectors (java.util.stream)
  • JList (javax.swing)
  • Base64 (org.apache.commons.codec.binary)
    Provides Base64 encoding and decoding as defined by RFC 2045.This class implements section 6.8. Base
Codota Logo
  • Products

    Search for Java codeSearch for JavaScript codeEnterprise
  • IDE Plugins

    IntelliJ IDEAWebStormAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogCodota Academy Plugin user guide Terms of usePrivacy policyJava Code IndexJavascript Code Index
Get Codota for your IDE now