I really want to write AWK #(1). (pref with the compiler in Java).
Alas I am lazy.
- Pronouced Awk as in Awkward, # as in Cannabis.
[pi]
I really want to write AWK #(1). (pref with the compiler in Java).
Alas I am lazy.
shakes
I've just starting looking over a different project by the same group.
I'm sure two different developers are involved (uses static methods).
However it adds c:\program files to the path. Then runs java
companyname.appname.Main. The wrongness, it burns.
:D
I could not be bothered to post all of it. It hurts to much.
<FONT face="Courier New" size=2>package quickUtil;
import java.io.File;
//---------------------------------------------------
public class mkFolder {
public mkFolder(String folder)
{
File tmp = new File(folder);
if (!tmp.exists())
{
tmp.mkdirs();
}
}
// ---------------------------------------------------
}</FONT>
and ~5 other "quick utils". Ones that return a value look like:
<FONT face="Courier New" size=2>class Test {
String returnValue;
Test( params ) { /* work */ }
String getReturn() { return returnValue; }
}</FONT>
Yes, the code is littered with
<FONT face="Courier New" size=2>new mkFolder( "blah" );
Test t = new Test( .... );
String v = t.getReturn();</FONT>
<FONT face="Courier New" size=2>(ED: Fixed formatting)</FONT>
@Phince said:
Like it was said in other topics:Java does support long files names, and always has.
Oracle does support spaces in names but the JAVA part in it does not..
( JAVA platform independant, WHA! sure.... )