1/* Copyright (C) 2003 Vladimir Roubtsov. All rights reserved. 2 * 3 * This program and the accompanying materials are made available under 4 * the terms of the Common Public License v1.0 which accompanies this distribution, 5 * and is available at http://www.eclipse.org/legal/cpl-v10.html 6 * 7 * $Id: ClassWriter.java,v 1.1.1.1 2004/05/09 16:57:49 vlad_r Exp $ 8 */ 9package com.vladium.jcd.compiler; 10 11import java.io.IOException; 12import java.io.OutputStream; 13 14import com.vladium.jcd.cls.*; 15import com.vladium.jcd.lib.UDataOutputStream; 16 17// ---------------------------------------------------------------------------- 18/** 19 * @author (C) 2001, Vlad Roubtsov 20 */ 21public 22abstract class ClassWriter 23{ 24 // public: ................................................................ 25 26 27 public static void writeClassTable (final ClassDef classTable, final OutputStream out) 28 throws IOException 29 { 30 classTable.writeInClassFormat (new UDataOutputStream (out)); 31 } 32 33 // protected: ............................................................. 34 35 // package: ............................................................... 36 37 // private: ............................................................... 38 39} // end of class 40// ---------------------------------------------------------------------------- 41