in j2me app
my csv file is in package
and the file where i write my code is in the same package 'student'
and the code is:

InputStream is = getClass().getResourceAsStream("CWGData.csv");
StringBuffer sb = new StringBuffer();
int chars, i = 0;
while ((chars = != -1){
sb.append((char) chars);
System.out.println(" ---------- CSV file is: ---- " + sb.toString());
return sb.toString();
}catch (Exception e){}
return null;

and it is throwing exception of file not found..
i dont understand what's the problem ??