コード例 #1
0
 @Override
 public void setUp() throws Exception {
   super.setUp();
   extracter = new MP3MetadataExtracter();
   extracter.setDictionaryService(dictionaryService);
   extracter.register();
 }
コード例 #2
0
 public void testSupports() throws Exception {
   for (String mimetype : MP3MetadataExtracter.SUPPORTED_MIMETYPES) {
     boolean supports = extracter.isSupported(mimetype);
     assertTrue("Mimetype should be supported: " + mimetype, supports);
   }
 }
コード例 #3
0
 @Override
 public void setUp() throws Exception {
   super.setUp();
   extracter = (MP3MetadataExtracter) ctx.getBean("extracter.MP3");
   extracter.register();
 }