- Add the Codota plugin to your IDE and get smart completions
private void myMethod () {DateTime d =
new DateTime()
DateTimeFormatter formatter;String text;formatter.parseDateTime(text)
Object instant;new DateTime(instant)
- Smart code suggestions by Codota
}
@Override public VisemeBindingManagerConfig loadConfiguration(File param) throws IOException { VisemeBindingManagerConfigRecord record = AvroUtils.readFromFile( VisemeBindingManagerConfigRecord.class, null, VisemeBindingManagerConfigRecord.SCHEMA$, param, true); return record; }
@Override public WavPlayerConfig loadConfiguration(File param) throws Exception { return AvroUtils.readFromFile( WavPlayerConfigRecord.class, null, WavPlayerConfigRecord.SCHEMA$, param, true); }
private void btnLoadActionPerformed(java.awt.event.ActionEvent evt) {//GEN-FIRST:event_btnLoadActionPerformed if(myService == null){ theLogger.warn("Unable to load config for null service."); return; }else if(myConfigClass == null || myConfigFactory == null){ theLogger.warn("Unable to load config, Config Params are null."); return; } try{ String file = txtConfigPath.getText(); Class cls = myConfigClass; Conf config = myConfigFactory.getValue(); Schema schema = config.getSchema(); AvroUtils.readFromFile(cls, config, schema, new File(file), true); myService.initialize(config); myStatusPanel.setStatusText("initialized"); }catch(Exception ex){ theLogger.error("There was an error initializing the service.", ex); } }//GEN-LAST:event_btnLoadActionPerformed