Examples of Guid


Examples of com.rometools.rome.feed.rss.Guid

                creators.clear();
                creators.addAll(s);
            }
        }

        final Guid guid = item.getGuid();
        final String itemLink = item.getLink();
        if (guid != null) {
            final String guidValue = guid.getValue();
            syndEntry.setUri(guidValue);
            if (itemLink == null && guid.isPermaLink()) {
                syndEntry.setLink(guidValue);
            }
        } else {
            syndEntry.setUri(itemLink);
        }
View Full Code Here

Examples of com.sun.jna.platform.win32.Guid.GUID

  public static void main(String[] args) {
    junit.textui.TestRunner.run(Ole32Test.class);
  }

  public void testCoCreateGUID() {
    GUID pguid = new GUID();
    assertEquals(W32Errors.S_OK, Ole32.INSTANCE.CoCreateGuid(pguid));
    assertTrue(pguid.Data1 != 0 || pguid.Data2 != 0 || pguid.Data3 != 0
        && pguid.Data4 != null);
  }
View Full Code Here

Examples of com.sun.syndication.feed.rss.Guid

    protected SyndEntry createSyndEntry(Item item) {
        SyndEntry syndEntry = super.createSyndEntry(item);
        syndEntry.setAuthor(item.getAuthor());    //c

        Guid guid = item.getGuid();
        if (guid!=null) {
            syndEntry.setUri(guid.getValue());
            if (item.getLink()==null && guid.isPermaLink()) {
                syndEntry.setLink(guid.getValue());
            }
        }
        else {
            syndEntry.setUri(item.getLink());
        }
View Full Code Here

Examples of com.wesabe.api.util.guid.GUID

public class GUIDTest {
 
  public static class Generating_A_GUID {
    @Test
    public void shouldProduceARandomGUIDOfTheRequestedLength() throws Exception {
      GUID guid = GUID.generateRandom(40);
      assertEquals(40, guid.length());
    }
View Full Code Here

Examples of com4j.GUID

                name = aliases.get(decl);
            else
                name = decl.getName();

            // check GUID
            GUID guid = getGUID(decl);

            if(guid!=null && STDOLE_TYPES.contains(guid))
                return "Com4jObject";
            else
                return name;
View Full Code Here

Examples of entagged.audioformats.asf.data.GUID

   * @throws IOException
   */
  private FileHeader parseData(RandomAccessFile raf) throws IOException {
    FileHeader result = null;
    long fileHeaderStart = raf.getFilePointer();
    GUID guid = Utils.readGUID(raf);
    if (GUID.GUID_FILE.equals(guid)) {
      BigInteger chunckLen = Utils.readBig64(raf);
      // Skip client GUID.
      raf.skipBytes(16);

View Full Code Here

Examples of entagged.audioformats.asf.data.GUID

   *                   read errors
   */
  private StreamChunk parseData(RandomAccessFile raf) throws IOException {
    StreamChunk result = null;
    long chunkStart = raf.getFilePointer();
    GUID guid = Utils.readGUID(raf);
    if (GUID.GUID_STREAM.equals(guid)) {
      BigInteger chunkLength = Utils.readBig64(raf);
      // Now comes GUID indicating whether stream content type is audio or
      // video
      GUID streamTypeGUID = Utils.readGUID(raf);
      if (GUID.GUID_AUDIOSTREAM.equals(streamTypeGUID)
          || GUID.GUID_VIDEOSTREAM.equals(streamTypeGUID)) {

        // A guid is indicating whether the stream is error
        // concealed
        GUID errorConcealment = Utils.readGUID(raf);
        /*
         * Read the Time Offset
         */
        long timeOffset = Utils.readUINT64(raf);

View Full Code Here

Examples of entagged.audioformats.asf.data.GUID

   */
  private StreamBitratePropertiesChunk parseData(RandomAccessFile raf)
      throws IOException {
    StreamBitratePropertiesChunk result = null;
    long chunkStart = raf.getFilePointer();
    GUID guid = Utils.readGUID(raf);
    if (GUID.GUID_STREAM_BITRATE_PROPERTIES.equals(guid)) {
      BigInteger chunkLen = Utils.readBig64(raf);
      result = new StreamBitratePropertiesChunk(chunkStart, chunkLen);

      /*
 
View Full Code Here

Examples of entagged.audioformats.asf.data.GUID

     */
    private ContentDescription parseData(RandomAccessFile raf)
            throws IOException {
        ContentDescription result = null;
        long chunkStart = raf.getFilePointer();
        GUID guid = Utils.readGUID(raf);
        if (GUID.GUID_CONTENTDESCRIPTION.equals(guid)) {
            BigInteger chunkLen = Utils.readBig64(raf);
            result = new ContentDescription(chunkStart, chunkLen);
            /*
             * Now comes 16-Bit values representing the length of the Strings
View Full Code Here

Examples of entagged.audioformats.asf.data.GUID

   *                   read errors.
   */
  private EncodingChunk parseData(RandomAccessFile raf) throws IOException {
    EncodingChunk result = null;
    long chunkStart = raf.getFilePointer();
    GUID guid = Utils.readGUID(raf);
    if (GUID.GUID_ENCODING.equals(guid)) {
      BigInteger chunkLen = Utils.readBig64(raf);
      result = new EncodingChunk(chunkStart, chunkLen);

      // Can't be interpreted
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.