![]() Topic awaiting preservation: A white rat's shot story about reverse engineering (Page 1 of 1) |
|
|---|---|
|
Paranoid (IV) Inmate From: |
posted 03-01-2006 22:24
In another thread, I talked about how sensitive communication points between two layers of a software system are. |
|
Paranoid (IV) Inmate From: |
posted 03-02-2006 04:55
Just to have this make more sense, the code: code: public void init()
{
java.net.URLConnection Conn = null;
java.net.URL myUrl = null;
java.io.InputStream fpointer = null;
try{
myUrl = new java.net.URL(this.getCodeBase().toString()+"/Kinkimono.ttf");
fpointer = myUrl.openStream();
}
catch(Exception e){
System.out.println("Bad url");
}
code: try{
fpointer = new FileInputStream("Kinkimono.ttf");
}
catch(Exception e){
System.out.println("shoot, can't find the file:: " + " because::" + e.getMessage());
}
|