public static Station getStationByID(long stationID){
    
    Station h=new Station(stationID,"Unknown station: "+stationID);
    File cache = FileSystem.getFile("cache/static/outposts.xml");
        if( isCacheNeeded(cache) ){
            try{
                URL url = new URL("https://"+Defaults.SERVER+"/eve/ConquerableStationList.xml.aspx");
                cache(cache, url);
            }catch(MalformedURLException ex){
                System.out.println("MUE: "+ex.getMessage());
            }
        }
        if( cache.exists() && cache.isFile() ){
            try{
            DocumentBuilderFactory dbFactory = DocumentBuilderFactory.newInstance();
            DocumentBuilder dBuilder = dbFactory.newDocumentBuilder();
            Document doc = dBuilder.parse(cache);
            NodeList rows = doc.getElementsByTagName("row");
            for(int i=0;i<rows.getLength();i++){
                Element row = (Element)rows.item(i);
                if(Long.parseLong(row.getAttribute("stationID"))==stationID){
                    h = new Station(stationID, row.getAttribute("stationName"));
                }
            }
            }catch(SAXException ex){
                System.out.println("SAXE: "+ex.getMessage());
            }catch(ParserConfigurationException ex){
                System.out.println("PCE: "+ex.getMessage());
            }catch(IOException ex){
                System.out.println("IOE: "+ex.getMessage());
            }    
        }
    return h;
    }