writer.write('#'); writer.write(((ConditionalPermissionInfoImpl) cpi).getName()); writer.newLine();
	public void serializeConditionalPermissionInfos(Vector v) throws IOException {		BufferedWriter writer = null;		try {			writer = new BufferedWriter(new OutputStreamWriter(new FileOutputStream(new File(permissionDir, CONDPERMS))));			Enumeration en = v.elements();			while (en.hasMoreElements()) {				ConditionalPermissionInfo cpi = (ConditionalPermissionInfo) en.nextElement();				ConditionInfo cis[] = cpi.getConditionInfos();				PermissionInfo pis[] = cpi.getPermissionInfos();				for (int i = 0; i < cis.length; i++) {					writer.write(cis[i].getEncoded());					writer.newLine();				}				for (int i = 0; i < pis.length; i++) {					writer.write(pis[i].getEncoded());					writer.newLine();				}				writer.newLine();			}		} finally {			if (writer != null)				writer.close();		}	}