Examples of toBaseFile()


Examples of org.locationtech.udig.catalog.ID.toBaseFile()

    public void run(IService service){
        if( service instanceof ShpServiceImpl){
            ID id = service.getID();
            File directory = id.toFile().getParentFile();
            File infoFile = new File( directory, id.toBaseFile()+".properties" );
            if( infoFile.exists() ){
               try {
                   FileReader infoReader = new FileReader( infoFile );
                 Properties info = new Properties();
                 info.load( infoReader );
View Full Code Here

Examples of org.locationtech.udig.catalog.ID.toBaseFile()

     */
    @Override
    public String getTitle() {
        ID id = resource.getID();
       
        return id.toBaseFile();
    }
   
    @Override
    public String getDescription() {
        return resource.getIdentifier().toString();
View Full Code Here

Examples of org.locationtech.udig.catalog.ID.toBaseFile()

            // in memory grid coverage (example a temporary image froma WPS)
            this.latencyMetric = LATENCY_MEMORY;
            this.timeToDrawMetric = DRAW_IMAGE_MEMORY;
        }
        else if (id.isFile() ){
            String filename = id.toBaseFile();
            if( filename.toLowerCase().endsWith("jpg") ||
                    filename.toLowerCase().endsWith("jpeg")){
                this.latencyMetric = LATENCY_LOCAL;
                this.timeToDrawMetric = DRAW_IMAGE_COMPRESSED;
            }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.