public class ProtobufIDLProxy extends Object
| 限定符和类型 | 字段和说明 |
|---|---|
static String |
DEFAULT_FILE_NAME
default proto file name
|
| 构造器和说明 |
|---|
ProtobufIDLProxy() |
| 限定符和类型 | 方法和说明 |
|---|---|
protected static void |
checkDirectory(boolean generateSouceOnly,
File sourceOutputDir)
TODO
|
static Map<String,IDLProxyObject> |
create(File file) |
static Map<String,IDLProxyObject> |
create(File file,
boolean debug) |
static Map<String,IDLProxyObject> |
create(File file,
boolean debug,
File path) |
static Map<String,IDLProxyObject> |
create(File file,
boolean debug,
File path,
List<com.baidu.bjf.remoting.protobuf.ProtobufIDLProxy.CodeDependent> cds,
Set<String> compiledClass) |
static Map<String,IDLProxyObject> |
create(InputStream is) |
static Map<String,IDLProxyObject> |
create(InputStream is,
boolean debug) |
static Map<String,IDLProxyObject> |
create(InputStream is,
boolean debug,
File path) |
static Map<String,IDLProxyObject> |
create(Reader reader) |
static Map<String,IDLProxyObject> |
create(Reader reader,
boolean debug) |
static Map<String,IDLProxyObject> |
create(Reader reader,
boolean debug,
File path) |
static Map<String,IDLProxyObject> |
create(String data) |
static Map<String,IDLProxyObject> |
create(String data,
boolean debug) |
static Map<String,IDLProxyObject> |
create(String data,
boolean debug,
File path) |
static IDLProxyObject |
createSingle(InputStream is) |
static IDLProxyObject |
createSingle(InputStream is,
boolean debug) |
static IDLProxyObject |
createSingle(InputStream is,
boolean debug,
File path) |
static IDLProxyObject |
createSingle(Reader reader) |
static IDLProxyObject |
createSingle(Reader reader,
boolean debug) |
static IDLProxyObject |
createSingle(Reader reader,
boolean debug,
File path) |
static IDLProxyObject |
createSingle(String data) |
static IDLProxyObject |
createSingle(String data,
boolean debug) |
static IDLProxyObject |
createSingle(String data,
boolean debug,
File path) |
static void |
generateSource(File file,
File sourceOutputPath) |
static void |
generateSource(File file,
File sourceOutputPath,
List<com.baidu.bjf.remoting.protobuf.ProtobufIDLProxy.CodeDependent> cds,
Set<String> compiledClass) |
static void |
generateSource(InputStream is,
File sourceOutputPath) |
static void |
generateSource(Reader reader,
File sourceOutputPath) |
static void |
generateSource(String data,
File sourceOutputPath) |
public static IDLProxyObject createSingle(String data)
public static IDLProxyObject createSingle(String data, boolean debug)
public static IDLProxyObject createSingle(String data, boolean debug, File path)
public static IDLProxyObject createSingle(InputStream is) throws IOException
IOExceptionpublic static IDLProxyObject createSingle(InputStream is, boolean debug) throws IOException
IOExceptionpublic static IDLProxyObject createSingle(InputStream is, boolean debug, File path) throws IOException
IOExceptionpublic static IDLProxyObject createSingle(Reader reader) throws IOException
IOExceptionpublic static IDLProxyObject createSingle(Reader reader, boolean debug) throws IOException
IOExceptionpublic static IDLProxyObject createSingle(Reader reader, boolean debug, File path) throws IOException
IOExceptionpublic static Map<String,IDLProxyObject> create(String data)
public static Map<String,IDLProxyObject> create(String data, boolean debug)
public static Map<String,IDLProxyObject> create(String data, boolean debug, File path)
public static Map<String,IDLProxyObject> create(InputStream is) throws IOException
IOExceptionpublic static Map<String,IDLProxyObject> create(InputStream is, boolean debug) throws IOException
IOExceptionpublic static Map<String,IDLProxyObject> create(InputStream is, boolean debug, File path) throws IOException
IOExceptionpublic static Map<String,IDLProxyObject> create(Reader reader) throws IOException
IOExceptionpublic static Map<String,IDLProxyObject> create(Reader reader, boolean debug) throws IOException
IOExceptionpublic static Map<String,IDLProxyObject> create(Reader reader, boolean debug, File path) throws IOException
IOExceptionpublic static Map<String,IDLProxyObject> create(File file) throws IOException
IOExceptionpublic static Map<String,IDLProxyObject> create(File file, boolean debug) throws IOException
IOExceptionpublic static Map<String,IDLProxyObject> create(File file, boolean debug, File path) throws IOException
IOExceptionpublic static Map<String,IDLProxyObject> create(File file, boolean debug, File path, List<com.baidu.bjf.remoting.protobuf.ProtobufIDLProxy.CodeDependent> cds, Set<String> compiledClass) throws IOException
IOExceptionpublic static void generateSource(InputStream is, File sourceOutputPath) throws IOException
IOExceptionpublic static void generateSource(Reader reader, File sourceOutputPath) throws IOException
IOExceptionpublic static void generateSource(File file, File sourceOutputPath) throws IOException
IOExceptionpublic static void generateSource(File file, File sourceOutputPath, List<com.baidu.bjf.remoting.protobuf.ProtobufIDLProxy.CodeDependent> cds, Set<String> compiledClass) throws IOException
IOExceptionprotected static void checkDirectory(boolean generateSouceOnly,
File sourceOutputDir)
generateSouceOnly - sourceOutputDir - Copyright © 2016 Baidu, Inc.. All rights reserved.