public class URLResourceTest extends Object
Copyright (c) 2002-2019 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information https://djutils.org. The DJUTILS project is distributed under a three-clause BSD-style license, which can be found at https://djutils.org/docs/license.html.
Constructor and Description |
---|
URLResourceTest() |
Modifier and Type | Method and Description |
---|---|
void |
addToJarFile(String fileName,
JarOutputStream jos) |
void |
fileTest()
Test whether URLResource retrieves files.
|
void |
jarTest()
Test whether URLResource retrieves files.
|
public final void fileTest() throws IOException
IOException
- on I/O errorpublic final void jarTest() throws IOException, URISyntaxException
IOException
- on I/O errorURISyntaxException
- on errorpublic void addToJarFile(String fileName, JarOutputStream jos) throws FileNotFoundException, IOException
FileNotFoundException
IOException
Copyright © 2018–2019 Delft University of Technology. All rights reserved.