in j2me app
my csv file is in com.school.student 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();
try{
int chars, i = 0;
while ((chars = is.read()) != -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 ??