View | Details | Raw Unified | Return to bug 45804
Collapse All | Expand All

(-)src/scratchpad/src/org/apache/poi/hsmf/datatypes/StringChunk.java (-2 / +13 lines)
Lines 27-37 Link Here
27
27
28
	private String value;
28
	private String value;
29
29
30
	public StringChunk(int chunkId) {
30
	/**
31
	 * Constructor for specifying both the chunk id and the type, in case
32
	 * the default type of Types.STRING does not suffice.
33
	 * 
34
	 * @param chunkId
35
	 * @param type
36
	 */
37
	public StringChunk(int chunkId, int type) {
31
		this.chunkId = chunkId;
38
		this.chunkId = chunkId;
32
		this.type = Types.STRING;
39
		this.type = type;
33
	}
40
	}
34
	
41
	
42
	public StringChunk(int chunkId) {
43
		this(chunkId, Types.STRING);
44
	}
45
	
35
	/* (non-Javadoc)
46
	/* (non-Javadoc)
36
	 * @see org.apache.poi.hsmf.Chunk.Chunk#getValueByteArray()
47
	 * @see org.apache.poi.hsmf.Chunk.Chunk#getValueByteArray()
37
	 */
48
	 */

Return to bug 45804