private void initVoicesNames() { if (mPrVoices == null) { try { mPrVoices = new VoiceName[mVoicesNames.length+1][128]; for (int f = 0; f < (mVoicesNames.length+1); f++) { if (f == 0) { for(int i = 0; i < 128; i++) { mPrVoices[f][i] = new VoiceName(Integer.toString(i+1)+" --------"); } } else { InputStream oIS = getClass().getResourceAsStream(mVoicesNames[f-1]); InputStreamReader oISR = new InputStreamReader(oIS); BufferedReader oBR = new BufferedReader(oISR); String oLine = oBR.readLine(); int i = 0; while(oLine != null && i < 128) { mPrVoices[f][i++] = new VoiceName(oLine); oLine = oBR.readLine(); } } } } catch(IOException ioe) { ioe.printStackTrace(); } }
private void initVoicesNames() {  for(int i = 0; i < 128; i++) { mPrVoices[0][i] = new VoiceName(i+" ---------"); }
	private void initVoicesNames() {		if (mPrVoices == null) {			try {				mPrVoices = new VoiceName[mVoicesNames.length+1][128];				for (int f = 0; f < (mVoicesNames.length+1); f++) {					if (f == 0) {						for(int i = 0; i < 128; i++) {							mPrVoices[f][i] = new VoiceName(Integer.toString(i+1)+" --------");						}					}					else {						InputStream oIS = getClass().getResourceAsStream(mVoicesNames[f-1]);						InputStreamReader oISR = new InputStreamReader(oIS);						BufferedReader oBR = new BufferedReader(oISR);						String oLine = oBR.readLine();						int i = 0;						while(oLine != null && i < 128) {							mPrVoices[f][i++] = new VoiceName(oLine);							oLine = oBR.readLine();						}					}				}			}			catch(IOException ioe) {				ioe.printStackTrace();			}		}	}