Skip to content

Commit cd0b61c

Browse files
[BAEL-15998] - Move articles out of core-java-io part 1
1 parent 0c8cad7 commit cd0b61c

File tree

42 files changed

+111
-281
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+111
-281
lines changed

core-java-modules/README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,5 @@ This module contains modules about core Java
55
## Relevant articles:
66

77
- [Multi-Module Maven Application with Java Modules](https://www.baeldung.com/maven-multi-module-project-java-jpms)
8-
- [Guide to Java FileChannel](https://www.baeldung.com/java-filechannel)
98
- [Understanding the NumberFormatException in Java](https://www.baeldung.com/java-number-format-exception)
109
- [Will an Error Be Caught by Catch Block in Java?](https://www.baeldung.com/java-error-catch)

core-java-modules/core-java-io/README.md

Lines changed: 0 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -13,22 +13,11 @@ This module contains articles about core Java input and output (IO)
1313
- [Differences Between the Java WatchService API and the Apache Commons IO Monitor Library](http://www.baeldung.com/java-watchservice-vs-apache-commons-io-monitor-library)
1414
- [File Size in Java](http://www.baeldung.com/java-file-size)
1515
- [Comparing getPath(), getAbsolutePath(), and getCanonicalPath() in Java](http://www.baeldung.com/java-path)
16-
- [Using Java MappedByteBuffer](http://www.baeldung.com/java-mapped-byte-buffer)
1716
- [How to Copy a File with Java](http://www.baeldung.com/java-copy-file)
1817
- [Java – Append Data to a File](http://www.baeldung.com/java-append-to-file)
1918
- [FileNotFoundException in Java](http://www.baeldung.com/java-filenotfound-exception)
2019
- [How to Read a File in Java](http://www.baeldung.com/reading-file-in-java)
21-
- [A Guide To NIO2 Asynchronous File Channel](http://www.baeldung.com/java-nio2-async-file-channel)
22-
- [A Guide To NIO2 FileVisitor](http://www.baeldung.com/java-nio2-file-visitor)
23-
- [A Guide To NIO2 File Attribute APIs](http://www.baeldung.com/java-nio2-file-attribute)
24-
- [Introduction to the Java NIO2 File API](http://www.baeldung.com/java-nio-2-file-api)
2520
- [Zipping and Unzipping in Java](http://www.baeldung.com/java-compress-and-uncompress)
26-
- [Java NIO2 Path API](http://www.baeldung.com/java-nio-2-path)
27-
- [A Guide to WatchService in Java NIO2](http://www.baeldung.com/java-nio2-watchservice)
28-
- [Guide to Java NIO2 Asynchronous Channel APIs](http://www.baeldung.com/java-nio-2-async-channels)
29-
- [A Guide to NIO2 Asynchronous Socket Channel](http://www.baeldung.com/java-nio2-async-socket-channel)
30-
- [Download a File From an URL in Java](http://www.baeldung.com/java-download-file)
31-
- [Create a Symbolic Link with Java](http://www.baeldung.com/java-symlink)
3221
- [Quick Use of FilenameFilter](http://www.baeldung.com/java-filename-filter)
3322
- [Read a File into an ArrayList](https://www.baeldung.com/java-file-to-arraylist)
3423
- [Guide to Java OutputStream](https://www.baeldung.com/java-outputstream)
@@ -40,6 +29,5 @@ This module contains articles about core Java input and output (IO)
4029
- [How to Write to a CSV File in Java](https://www.baeldung.com/java-csv)
4130
- [List Files in a Directory in Java](https://www.baeldung.com/java-list-directory-files)
4231
- [Java InputStream to Byte Array and ByteBuffer](https://www.baeldung.com/convert-input-stream-to-array-of-bytes)
43-
- [Introduction to the Java NIO Selector](https://www.baeldung.com/java-nio-selector)
4432
- [How to Avoid the Java FileNotFoundException When Loading Resources](https://www.baeldung.com/java-classpath-resource-cannot-be-opened)
4533
- [[More -->]](/core-java-modules/core-java-io-2)

core-java-modules/core-java-io/pom.xml

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -27,12 +27,6 @@
2727
<version>${hsqldb.version}</version>
2828
<scope>runtime</scope>
2929
</dependency>
30-
<!-- https://mvnrepository.com/artifact/org.asynchttpclient/async-http-client -->
31-
<dependency>
32-
<groupId>org.asynchttpclient</groupId>
33-
<artifactId>async-http-client</artifactId>
34-
<version>${async-http-client.version}</version>
35-
</dependency>
3630
<dependency>
3731
<groupId>com.opencsv</groupId>
3832
<artifactId>opencsv</artifactId>
@@ -155,7 +149,6 @@
155149
<!-- maven plugins -->
156150
<maven-javadoc-plugin.version>3.0.0-M1</maven-javadoc-plugin.version>
157151
<hsqldb.version>2.4.0</hsqldb.version>
158-
<async-http-client.version>2.4.5</async-http-client.version>
159152
<!-- Mime Type Libraries -->
160153
<tika.version>1.18</tika.version>
161154
<jmime-magic.version>0.1.5</jmime-magic.version>

core-java-modules/core-java-io/src/main/java/com/baeldung/java/nio/selector/README.md

Lines changed: 0 additions & 2 deletions
This file was deleted.

core-java-modules/core-java-io/src/test/java/com/baeldung/filechannel/FileChannelUnitTest.java

Lines changed: 0 additions & 165 deletions
This file was deleted.

core-java-modules/core-java-io/src/test/java/com/baeldung/java/nio2/README.md

Lines changed: 0 additions & 11 deletions
This file was deleted.

core-java-modules/core-java-io/src/test/resources/test_truncate.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

core-java-modules/core-java-io/src/test/resources/test_write_using_filechannel.txt

Lines changed: 0 additions & 1 deletion
This file was deleted.

core-java-modules/core-java-networking-2/README.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@ This module contains articles about networking in Java
44

55
### Relevant Articles
66

7-
- [Checking if a URL Exists in Java](https://www.baeldung.com/java-check-url-exists)
8-
- [Making a JSON POST Request With HttpURLConnection](https://www.baeldung.com/httpurlconnection-post)
7+
- [Checking If a URL Exists in Java](https://www.baeldung.com/java-check-url-exists)
8+
- [Making a JSON POST Request with HttpURLConnection](https://www.baeldung.com/httpurlconnection-post)
99
- [Using Curl in Java](https://www.baeldung.com/java-curl)
10-
- [Do a Simple HTTP Request in Java](http://www.baeldung.com/java-http-request)
11-
- [Sending Emails with Java](http://www.baeldung.com/java-email)
10+
- [Do a Simple HTTP Request in Java](https://www.baeldung.com/java-http-request)
11+
- [Sending Emails with Java](https://www.baeldung.com/java-email)
1212
- [Authentication with HttpUrlConnection](https://www.baeldung.com/java-http-url-connection)
13+
- [Download a File from an URL in Java](https://www.baeldung.com/java-download-file)
1314
- [[<-- Prev]](/core-java-modules/core-java-networking)

core-java-modules/core-java-networking-2/pom.xml

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,10 @@
66
<packaging>jar</packaging>
77

88
<parent>
9-
<groupId>com.baeldung.core-java-modules</groupId>
10-
<artifactId>core-java-modules</artifactId>
11-
<version>1.0.0-SNAPSHOT</version>
9+
<groupId>com.baeldung</groupId>
10+
<artifactId>parent-java</artifactId>
11+
<version>0.0.1-SNAPSHOT</version>
12+
<relativePath>../../parent-java</relativePath>
1213
</parent>
1314

1415
<dependencies>
@@ -27,6 +28,11 @@
2728
<artifactId>mail</artifactId>
2829
<version>${javax.mail.version}</version>
2930
</dependency>
31+
<dependency>
32+
<groupId>org.asynchttpclient</groupId>
33+
<artifactId>async-http-client</artifactId>
34+
<version>${async-http-client.version}</version>
35+
</dependency>
3036
</dependencies>
3137

3238
<build>
@@ -36,5 +42,6 @@
3642
<properties>
3743
<httpclient.version>4.5.9</httpclient.version>
3844
<javax.mail.version>1.5.0-b01</javax.mail.version>
45+
<async-http-client.version>2.4.5</async-http-client.version>
3946
</properties>
4047
</project>

0 commit comments

Comments
 (0)