public final class Utils extends Object
Modifier and Type | Method and Description |
---|---|
static void |
addResources(CommonParams commonParams,
org.apache.tools.ant.types.FileSet fileset) |
static void |
addResources(DeployParams deployParams,
FileSet fileset) |
static void |
addResources(DeployParams deployParams,
org.apache.tools.ant.types.FileSet fileset,
String type) |
static String |
getBase64Encoded(CertPath certPath) |
static byte[] |
getBytes(InputStream is) |
static void |
readAllFully(JarFile jf) |
static void |
readFully(InputStream is) |
public static void addResources(CommonParams commonParams, org.apache.tools.ant.types.FileSet fileset)
public static void addResources(DeployParams deployParams, org.apache.tools.ant.types.FileSet fileset, String type)
public static void addResources(DeployParams deployParams, FileSet fileset)
public static void readFully(InputStream is) throws IOException
IOException
public static void readAllFully(JarFile jf) throws IOException
IOException
public static byte[] getBytes(InputStream is) throws IOException
IOException
public static String getBase64Encoded(CertPath certPath) throws CertificateEncodingException
CertificateEncodingException
Copyright © 2020. All rights reserved.