//containerFile2.setTextSignature(
// ".*manifest:media-type=\"application/vnd\\.oasis\\.opendocument\\.text\".{0,50}manifest:full-path=\"/\".*");
sig2.setFiles(Arrays.asList(new ContainerFile[] {containerFile2}));
Map<Integer, List<FileFormatMapping>> formats = new HashMap<Integer, List<FileFormatMapping>>();
FileFormatMapping fileFormatText = new FileFormatMapping();
fileFormatText.setPuid("fmt/666");
List<FileFormatMapping> mappings = new ArrayList<FileFormatMapping>();
mappings.add(fileFormatText);
formats.put(100, mappings);
FileFormatMapping fileFormatMath = new FileFormatMapping();
fileFormatMath.setPuid("fmt/667");
List<FileFormatMapping> mathmapping = new ArrayList<FileFormatMapping>();
mathmapping.add(fileFormatMath);
formats.put(101, mathmapping);
odfIdentifier.addContainerSignature(sig);