KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > vladium > jcd > compiler > ClassWriter


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  */

9 package com.vladium.jcd.compiler;
10
11 import java.io.IOException JavaDoc;
12 import java.io.OutputStream JavaDoc;
13
14 import com.vladium.jcd.cls.*;
15 import com.vladium.jcd.lib.UDataOutputStream;
16
17 // ----------------------------------------------------------------------------
18
/**
19  * @author (C) 2001, Vlad Roubtsov
20  */

21 public
22 abstract class ClassWriter
23 {
24     // public: ................................................................
25

26
27     public static void writeClassTable (final ClassDef classTable, final OutputStream JavaDoc out)
28         throws IOException JavaDoc
29     {
30         classTable.writeInClassFormat (new UDataOutputStream (out));
31     }
32     
33     // protected: .............................................................
34

35     // package: ...............................................................
36

37     // private: ...............................................................
38

39 } // end of class
40
// ----------------------------------------------------------------------------
41
Popular Tags