Java 类javax.print.DocFlavor.URL 实例源码

项目:OpenSDI-Manager2    文件:FtpServerStarter.java   
public String getJksPath() {
    // use the tesing jks we provided by default
           java.net.URL location = this.getClass().getResource("/ftpserver.jks");
           if (location != null){
               jksPath = location.getPath();
               LOGGER.warn("*** OpenSDI is using the default keystore for the FTP server ***");
           }
           // otherwise look for a jks file in the config folder
           else{
               if(jksPath == null && applicationContext != null){
                   OpenSDIManagerConfig cf = (OpenSDIManagerConfig)applicationContext.getBean("baseConfig");
                   if(cf != null){
                       File confDir = cf.getConfigDir();
                       jksPath = new File(confDir,"ftpserver.jks").getAbsolutePath();
                   }
               }
           }

    return jksPath;
}
项目:AlphaLab    文件:FrmCadastroDepartamento.java   
@Override
public void initialize(java.net.URL location, ResourceBundle resources) {
    tbcChefe.setCellValueFactory(new PropertyValueFactory<>("chefe"));
    tbcNome.setCellValueFactory(new PropertyValueFactory<>("nome"));
    tbcSigla.setCellValueFactory(new PropertyValueFactory<>("sigla"));
    chbChefeDep.setItems(FXCollections.observableArrayList(MockServidorDAO.getInstance().buscarTodosServidores()));
    inicializarForm();
}
项目:sensorhub    文件:ProcessingManagerImpl.java   
@Override
public void installProcessCode(String processURI, URL codePackage, boolean replace)
{
    // TODO Auto-generated method stub

}
项目:sensorhub    文件:IProcessingManager.java   
/**
 * Installs a process code package (jar file) from the specified URL for the process URI
 * @param processURI URI of process type that this code should be used for
 * @param codePackage URL of jar containing classes necessary to run the specified method
 * @param replace if true, old code associated to the same URI will be destroyed 
 */
public void installProcessCode(String processURI, URL codePackage, boolean replace);