public class DaoUtil
extends java.lang.Object
Constructor and Description |
---|
DaoUtil() |
Modifier and Type | Method and Description |
---|---|
static java.lang.String |
capFirst(java.lang.String string) |
static java.lang.String |
checkConvertToJavaDoc(java.lang.String javaDoc,
java.lang.String indent) |
static int |
copyAllBytes(java.io.InputStream in,
java.io.OutputStream out)
Copies all available data from in to out without closing any stream.
|
static java.lang.String |
dbName(java.lang.String javaName) |
static java.lang.String |
getClassnameFromFullyQualified(java.lang.String clazz) |
static java.lang.String |
getPackageFromFullyQualified(java.lang.String clazz) |
static byte[] |
readAllBytes(java.io.File file) |
static byte[] |
readAllBytes(java.io.InputStream in) |
static byte[] |
readAllBytes(java.lang.String filename) |
public static java.lang.String dbName(java.lang.String javaName)
public static java.lang.String getClassnameFromFullyQualified(java.lang.String clazz)
public static java.lang.String capFirst(java.lang.String string)
public static java.lang.String getPackageFromFullyQualified(java.lang.String clazz)
public static byte[] readAllBytes(java.io.InputStream in) throws java.io.IOException
java.io.IOException
public static byte[] readAllBytes(java.io.File file) throws java.io.IOException
java.io.IOException
public static byte[] readAllBytes(java.lang.String filename) throws java.io.IOException
java.io.IOException
public static int copyAllBytes(java.io.InputStream in, java.io.OutputStream out) throws java.io.IOException
java.io.IOException
public static java.lang.String checkConvertToJavaDoc(java.lang.String javaDoc, java.lang.String indent)
Available under the GPLv3 - Copyright © 2011-2015 greenrobot.de. All Rights Reserved.