public class ResourceFixtures extends Object
| Modifier and Type | Field and Description |
|---|---|
protected File |
workingDirectory |
| Constructor and Description |
|---|
ResourceFixtures(File workingDirectory) |
| Modifier and Type | Method and Description |
|---|---|
protected void |
copyURLToFile(URL url,
File dest) |
protected URL |
getCertificateRequestURL(String prefix) |
protected URL |
getCertificateURL(String prefix) |
protected URL |
getKeyStoreURL(String prefix) |
File |
outputFile() |
File |
simpleCertificate() |
File |
simpleCertificateRequest() |
File |
simpleDestKeyStoreFile() |
File |
simpleDestKeyStoreFile(String name) |
File |
simpleKeyStore() |
File |
simpleKeyStore(boolean copy) |
File |
simpleKeyStore(String name) |
File |
simpleKeyStore(String name,
boolean copy) |
protected final File workingDirectory
public ResourceFixtures(File workingDirectory)
public File simpleDestKeyStoreFile()
public File simpleKeyStore(String name, boolean copy) throws IOException
IOExceptionpublic File simpleKeyStore() throws IOException
IOExceptionpublic File simpleKeyStore(boolean copy) throws IOException
IOExceptionpublic File simpleKeyStore(String name) throws IOException
IOExceptionpublic File simpleCertificateRequest() throws IOException
IOExceptionpublic File simpleCertificate() throws IOException
IOExceptionpublic File outputFile()
protected void copyURLToFile(URL url, File dest) throws IOException
IOExceptionCopyright © 2005–2024 MojoHaus. All rights reserved.