Examples of StringChunk


Examples of org.apache.poi.hsmf.datatypes.StringChunk

    TestCase.assertEquals(chunk.getEntryName(), Chunks.getInstance().displayToChunk.getEntryName());
  }
 

  public void testDisplayCCChunk() {
    StringChunk chunk = new StringChunk(0x0E03);
    TestCase.assertEquals(chunk.getEntryName(), Chunks.getInstance().displayCCChunk.getEntryName());
  }
View Full Code Here

Examples of org.apache.poi.hsmf.datatypes.StringChunk

    StringChunk chunk = new StringChunk(0x0E03);
    TestCase.assertEquals(chunk.getEntryName(), Chunks.getInstance().displayCCChunk.getEntryName());
  }

  public void testDisplayBCCChunk() {
    StringChunk chunk = new StringChunk(0x0E02);
    TestCase.assertEquals(chunk.getEntryName(), Chunks.getInstance().displayBCCChunk.getEntryName());
  }
View Full Code Here

Examples of org.apache.poi.hsmf.datatypes.StringChunk

    StringChunk chunk = new StringChunk(0x0E02);
    TestCase.assertEquals(chunk.getEntryName(), Chunks.getInstance().displayBCCChunk.getEntryName());
  }
 
  public void testSubjectChunk() {
    Chunk chunk = new StringChunk(0x0037);
    TestCase.assertEquals(chunk.getEntryName(), Chunks.getInstance().subjectChunk.getEntryName());
  }
View Full Code Here

Examples of org.apache.poi.hsmf.datatypes.StringChunk

                      chunk = new DirectoryChunk((DirectoryNode)entry, namePrefix, chunkId, type);
                  }
               }
               else if (type == Types.ASCII_STRING ||
                        type == Types.UNICODE_STRING) {
                  chunk = new StringChunk(namePrefix, chunkId, type);
               }
               else {
                  // Type of an unsupported type! Skipping...
               }
            }
View Full Code Here

Examples of org.apache.poi.hsmf.datatypes.StringChunk

   * @param chunk
   * @throws ChunkNotFoundException
   */
  public String getStringFromChunk(StringChunk chunk) throws ChunkNotFoundException {
    Chunk out = this.chunkParser.getDocumentNode(chunk);
    StringChunk strchunk = (StringChunk)out;
    return strchunk.toString();
  }
View Full Code Here

Examples of org.apache.poi.hsmf.datatypes.StringChunk

    chunk = new StringChunk(0xFFFF, true);
    TestCase.assertEquals("__substg1.0_FFFF001F", chunk.getEntryName());
  }

  public void testTextBodyChunk() {
    StringChunk chunk = new StringChunk(0x1000, false);
    TestCase.assertEquals(chunk.getEntryName(), chunks.textBodyChunk.getEntryName());
  }
View Full Code Here

Examples of org.apache.poi.hsmf.datatypes.StringChunk

    StringChunk chunk = new StringChunk(0x1000, false);
    TestCase.assertEquals(chunk.getEntryName(), chunks.textBodyChunk.getEntryName());
  }

  public void testDisplayToChunk() {
    StringChunk chunk = new StringChunk(0x0E04, false);
    TestCase.assertEquals(chunk.getEntryName(), chunks.displayToChunk.getEntryName());
  }
View Full Code Here

Examples of org.apache.poi.hsmf.datatypes.StringChunk

    TestCase.assertEquals(chunk.getEntryName(), chunks.displayToChunk.getEntryName());
  }


  public void testDisplayCCChunk() {
    StringChunk chunk = new StringChunk(0x0E03, false);
    TestCase.assertEquals(chunk.getEntryName(), chunks.displayCCChunk.getEntryName());
  }
View Full Code Here

Examples of org.apache.poi.hsmf.datatypes.StringChunk

    StringChunk chunk = new StringChunk(0x0E03, false);
    TestCase.assertEquals(chunk.getEntryName(), chunks.displayCCChunk.getEntryName());
  }

  public void testDisplayBCCChunk() {
    StringChunk chunk = new StringChunk(0x0E02, false);
    TestCase.assertEquals(chunk.getEntryName(), chunks.displayBCCChunk.getEntryName());
  }
View Full Code Here

Examples of org.apache.poi.hsmf.datatypes.StringChunk

    StringChunk chunk = new StringChunk(0x0E02, false);
    TestCase.assertEquals(chunk.getEntryName(), chunks.displayBCCChunk.getEntryName());
  }

  public void testSubjectChunk() {
    Chunk chunk = new StringChunk(0x0037, false);
    TestCase.assertEquals(chunk.getEntryName(), chunks.subjectChunk.getEntryName());
  }
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.