/usr/share/doc/libopentoken-doc/examples/Language_Lexer_Examples/something.java is in libopentoken-doc 6.0b-7.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 | package rene.util;
import java.io.*;
import java.util.*;
import rene.util.sort.*;
class SortFile extends File
implements SortObject
{ String S;
public SortFile (File dir, String name)
{ super(dir,name);
try
{ S=getCanonicalPath().toUpperCase();
}
catch (Exception e)
{ S=""; }
}
public int compare (SortObject o)
{ SortFile f=(SortFile)o;
return -f.S.compareTo(S);
}
}
class FileFilter
{ char F[][];
public FileFilter (String s)
{ StringTokenizer t=new StringTokenizer(s);
int n=t.countTokens();
F=new char[n][];
for (int i=0; i<n; i++)
{ F[i]=t.nextToken().toCharArray();
}
}
public char[] filter (int i)
{ return F[i];
}
public int filterCount ()
{ return F.length;
}
}
|