/** * Create a new Comment2000, with blank fields */ public Comment2000() { _header = new byte[8]; _children = new Record[4]; // Setup our header block _header[0] = 0x0f; // We are a container record LittleEndian.putShort(_header, 2, (short)_type); // Setup our child records CString csa = new CString(); CString csb = new CString(); CString csc = new CString(); csa.setOptions(0x00); csb.setOptions(0x10); csc.setOptions(0x20); _children[0] = csa; _children[1] = csb; _children[2] = csc; _children[3] = new Comment2000Atom(); findInterestingChildren(); }
/** * Create a new Comment2000, with blank fields */ public Comment2000() { _header = new byte[8]; _children = new Record[4]; // Setup our header block _header[0] = 0x0f; // We are a container record LittleEndian.putShort(_header, 2, (short)_type); // Setup our child records CString csa = new CString(); CString csb = new CString(); CString csc = new CString(); csa.setOptions(0x00); csb.setOptions(0x10); csc.setOptions(0x20); _children[0] = csa; _children[1] = csb; _children[2] = csc; _children[3] = new Comment2000Atom(); findInterestingChildren(); }