Package org.djutils.io
Class URLResourceTest
java.lang.Object
org.djutils.io.URLResourceTest
public class URLResourceTest extends Object
URLResourceTest.java.
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.
- Author:
- Alexander Verbraeck
-
Constructor Summary
Constructors Constructor Description URLResourceTest() -
Method Summary
Modifier and Type Method Description voidaddToJarFile(String fileName, JarOutputStream jos)voidfileTest()Test whether URLResource retrieves files.voidjarTest()Test whether URLResource retrieves files.
-
Constructor Details
-
URLResourceTest
public URLResourceTest()
-
-
Method Details
-
fileTest
Test whether URLResource retrieves files.- Throws:
IOException- on I/O error
-
jarTest
Test whether URLResource retrieves files.- Throws:
IOException- on I/O errorURISyntaxException- on error
-
addToJarFile
public void addToJarFile(String fileName, JarOutputStream jos) throws FileNotFoundException, IOException- Throws:
FileNotFoundExceptionIOException
-