Revision: 3642
          http://vexi.svn.sourceforge.net/vexi/?rev=3642&view=rev
Author:   mkpg2
Date:     2009-09-03 03:00:34 +0000 (Thu, 03 Sep 2009)

Log Message:
-----------


Modified Paths:
--------------
    trunk/core/org.ibex.js/src/org/ibex/js/Fountain.java

Modified: trunk/core/org.ibex.js/src/org/ibex/js/Fountain.java
===================================================================
--- trunk/core/org.ibex.js/src/org/ibex/js/Fountain.java        2009-09-03 
02:56:37 UTC (rev 3641)
+++ trunk/core/org.ibex.js/src/org/ibex/js/Fountain.java        2009-09-03 
03:00:34 UTC (rev 3642)
@@ -302,8 +302,12 @@
         private boolean writeable;
         public File(String path) throws JSExn { this(path,true); }
         public File(String path, boolean writeable) throws JSExn { 
-               try{this.path = new 
java.io.File(path).getCanonicalPath();}catch(IOException e){throw new 
JSExn(e.getMessage());} 
-               this.writeable = writeable;}
+               this(new java.io.File(path), writeable);
+        }
+        public File(java.io.File file, boolean writeable) throws JSExn { 
+               try{this.path = file.getCanonicalPath();}catch(IOException 
e){throw new JSExn(e.getMessage());} 
+               this.writeable = writeable;
+        }
         public String canonical() { return "file://"+path; }
         public JS getInfo() throws IOException {
                java.io.File f = new java.io.File(path);


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Vexi-svn mailing list
Vexi-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/vexi-svn

Reply via email to