From: Niki Roo Date: Sat, 27 Apr 2019 16:18:07 +0000 (+0200) Subject: change package for Streams to nikiroo.utils.streams X-Git-Url: https://git.nikiroo.be/?a=commitdiff_plain;h=8e76f6ab13a8a4a651f2518b6c91d5e6424c7922;p=fanfix-jexer.git change package for Streams to nikiroo.utils.streams --- diff --git a/src/be/nikiroo/utils/Cache.java b/src/be/nikiroo/utils/Cache.java index ce33592..cf8a780 100644 --- a/src/be/nikiroo/utils/Cache.java +++ b/src/be/nikiroo/utils/Cache.java @@ -8,6 +8,8 @@ import java.io.InputStream; import java.net.URL; import java.util.Date; +import be.nikiroo.utils.streams.MarkableFileInputStream; + /** * A generic cache system, with special support for {@link URL}s. *

diff --git a/src/be/nikiroo/utils/IOUtils.java b/src/be/nikiroo/utils/IOUtils.java index 9cdaba8..5a7e179 100644 --- a/src/be/nikiroo/utils/IOUtils.java +++ b/src/be/nikiroo/utils/IOUtils.java @@ -13,6 +13,8 @@ import java.util.zip.ZipEntry; import java.util.zip.ZipInputStream; import java.util.zip.ZipOutputStream; +import be.nikiroo.utils.streams.MarkableFileInputStream; + /** * This class offer some utilities based around Streams and Files. * diff --git a/src/be/nikiroo/utils/BufferedInputStream.java b/src/be/nikiroo/utils/streams/BufferedInputStream.java similarity index 99% rename from src/be/nikiroo/utils/BufferedInputStream.java rename to src/be/nikiroo/utils/streams/BufferedInputStream.java index aa455a2..7c20f63 100644 --- a/src/be/nikiroo/utils/BufferedInputStream.java +++ b/src/be/nikiroo/utils/streams/BufferedInputStream.java @@ -1,4 +1,4 @@ -package be.nikiroo.utils; +package be.nikiroo.utils.streams; import java.io.IOException; import java.io.InputStream; diff --git a/src/be/nikiroo/utils/BufferedOutputStream.java b/src/be/nikiroo/utils/streams/BufferedOutputStream.java similarity index 99% rename from src/be/nikiroo/utils/BufferedOutputStream.java rename to src/be/nikiroo/utils/streams/BufferedOutputStream.java index 4be1d0d..6f600eb 100644 --- a/src/be/nikiroo/utils/BufferedOutputStream.java +++ b/src/be/nikiroo/utils/streams/BufferedOutputStream.java @@ -1,4 +1,4 @@ -package be.nikiroo.utils; +package be.nikiroo.utils.streams; import java.io.IOException; import java.io.InputStream; diff --git a/src/be/nikiroo/utils/MarkableFileInputStream.java b/src/be/nikiroo/utils/streams/MarkableFileInputStream.java similarity index 96% rename from src/be/nikiroo/utils/MarkableFileInputStream.java rename to src/be/nikiroo/utils/streams/MarkableFileInputStream.java index f4d95d5..dab4cdc 100644 --- a/src/be/nikiroo/utils/MarkableFileInputStream.java +++ b/src/be/nikiroo/utils/streams/MarkableFileInputStream.java @@ -1,4 +1,4 @@ -package be.nikiroo.utils; +package be.nikiroo.utils.streams; import java.io.FileInputStream; import java.io.FilterInputStream; diff --git a/src/be/nikiroo/utils/NextableInputStream.java b/src/be/nikiroo/utils/streams/NextableInputStream.java similarity index 99% rename from src/be/nikiroo/utils/NextableInputStream.java rename to src/be/nikiroo/utils/streams/NextableInputStream.java index f221cbb..4a6e0ab 100644 --- a/src/be/nikiroo/utils/NextableInputStream.java +++ b/src/be/nikiroo/utils/streams/NextableInputStream.java @@ -1,4 +1,4 @@ -package be.nikiroo.utils; +package be.nikiroo.utils.streams; import java.io.IOException; import java.io.InputStream; diff --git a/src/be/nikiroo/utils/NextableInputStreamStep.java b/src/be/nikiroo/utils/streams/NextableInputStreamStep.java similarity index 98% rename from src/be/nikiroo/utils/NextableInputStreamStep.java rename to src/be/nikiroo/utils/streams/NextableInputStreamStep.java index a2ee039..818abf5 100755 --- a/src/be/nikiroo/utils/NextableInputStreamStep.java +++ b/src/be/nikiroo/utils/streams/NextableInputStreamStep.java @@ -1,4 +1,4 @@ -package be.nikiroo.utils; +package be.nikiroo.utils.streams; import java.io.InputStream; diff --git a/src/be/nikiroo/utils/ReplaceInputStream.java b/src/be/nikiroo/utils/streams/ReplaceInputStream.java similarity index 98% rename from src/be/nikiroo/utils/ReplaceInputStream.java rename to src/be/nikiroo/utils/streams/ReplaceInputStream.java index a456463..5eac0b4 100644 --- a/src/be/nikiroo/utils/ReplaceInputStream.java +++ b/src/be/nikiroo/utils/streams/ReplaceInputStream.java @@ -1,4 +1,4 @@ -package be.nikiroo.utils; +package be.nikiroo.utils.streams; import java.io.IOException; import java.io.InputStream; diff --git a/src/be/nikiroo/utils/test_code/BufferedInputStreamTest.java b/src/be/nikiroo/utils/test_code/BufferedInputStreamTest.java index c8eb21f..3ba7be8 100644 --- a/src/be/nikiroo/utils/test_code/BufferedInputStreamTest.java +++ b/src/be/nikiroo/utils/test_code/BufferedInputStreamTest.java @@ -3,8 +3,8 @@ package be.nikiroo.utils.test_code; import java.io.ByteArrayInputStream; import java.io.InputStream; -import be.nikiroo.utils.BufferedInputStream; import be.nikiroo.utils.IOUtils; +import be.nikiroo.utils.streams.BufferedInputStream; import be.nikiroo.utils.test.TestCase; import be.nikiroo.utils.test.TestLauncher; diff --git a/src/be/nikiroo/utils/test_code/BufferedOutputStreamTest.java b/src/be/nikiroo/utils/test_code/BufferedOutputStreamTest.java index 2ed712e..8b5d5e9 100644 --- a/src/be/nikiroo/utils/test_code/BufferedOutputStreamTest.java +++ b/src/be/nikiroo/utils/test_code/BufferedOutputStreamTest.java @@ -2,7 +2,7 @@ package be.nikiroo.utils.test_code; import java.io.ByteArrayOutputStream; -import be.nikiroo.utils.BufferedOutputStream; +import be.nikiroo.utils.streams.BufferedOutputStream; import be.nikiroo.utils.test.TestCase; import be.nikiroo.utils.test.TestLauncher; diff --git a/src/be/nikiroo/utils/test_code/NextableInputStreamTest.java b/src/be/nikiroo/utils/test_code/NextableInputStreamTest.java index 4664cbf..70123b9 100644 --- a/src/be/nikiroo/utils/test_code/NextableInputStreamTest.java +++ b/src/be/nikiroo/utils/test_code/NextableInputStreamTest.java @@ -4,8 +4,8 @@ import java.io.ByteArrayInputStream; import java.io.IOException; import be.nikiroo.utils.IOUtils; -import be.nikiroo.utils.NextableInputStream; -import be.nikiroo.utils.NextableInputStreamStep; +import be.nikiroo.utils.streams.NextableInputStream; +import be.nikiroo.utils.streams.NextableInputStreamStep; import be.nikiroo.utils.test.TestCase; import be.nikiroo.utils.test.TestLauncher; diff --git a/src/be/nikiroo/utils/test_code/ReplaceInputStreamTest.java b/src/be/nikiroo/utils/test_code/ReplaceInputStreamTest.java index c0ca923..e6e2112 100644 --- a/src/be/nikiroo/utils/test_code/ReplaceInputStreamTest.java +++ b/src/be/nikiroo/utils/test_code/ReplaceInputStreamTest.java @@ -4,7 +4,7 @@ import java.io.ByteArrayInputStream; import java.io.InputStream; import be.nikiroo.utils.IOUtils; -import be.nikiroo.utils.ReplaceInputStream; +import be.nikiroo.utils.streams.ReplaceInputStream; import be.nikiroo.utils.test.TestCase; import be.nikiroo.utils.test.TestLauncher;