private int GetPreBlockLength(String blname,int nStartLine,int nbindex) throws RemoteException {
		int nRepeat = -1;
		int nLineCount = -1;
		int nBlockLineCount = 0;
		boolean bblCount = false;
	    String linetxt =null;
	    BufferedReader br = new BufferedReader(new StringReader(confText));
	    
		try {
			while( (linetxt = br.readLine()) != null) {
				nLineCount++;
				if(nLineCount == nStartLine){
					bblCount = true;
				}
				
				if(bblCount){
					nBlockLineCount++;
					if(HasBlockName(blname,linetxt)){
						nRepeat++;
						if(nbindex == nRepeat){
							break;
						}
					}
				}
			}
			return nBlockLineCount;
		} catch (IOException e) {
			throw new RemoteException(e.getMessage());
		}
	}