writer.close();
if (writer != null) writer.close();
	public void write(OutputStream out) throws IOException {		BufferedWriter writer = null;				try {			writer = new BufferedWriter(					new OutputStreamWriter(out, Charset.forName("UTF-8")));						TreeSet<XMethod> sortedMethodSet = new TreeSet<XMethod>();			sortedMethodSet.addAll(propertyMap.keySet());			for (XMethod method : sortedMethodSet) {				Property property = propertyMap.get(method);				writeMethod(writer, method);				writer.write("|");				writer.write(encodeProperty(property));				writer.write("\n");			}		} finally {			try {				writer.close();			} catch (IOException e) {				// Ignore			}		}	}