36 Commits

Author SHA1 Message Date
DiegoMarti2
d1e36a0b4e
baeldung-articles : BAEL-6607 (#16240)
Get a Path to a Resource in a Java JAR File.
2024-03-27 21:43:38 -07:00
Liam Williams
e57037e841
Merge pull request #15766 from adalagandev/BAEL-7131_InputStream_vs_InputStreamReader_in_Java_v2
BAEL-7131 version 1 - POST REPO re-writing the commit history issue.
2024-03-26 13:27:14 +00:00
adalagandev
83cc018515 BAEL-7131 - Removed InputStreamUnitTest as per Final review sugestions. 2024-03-15 18:08:35 +01:00
adalagandev
63741db3d9 BAEL-7131 - Updated for final review comments 2024-03-10 22:34:19 +01:00
adalagandev
069952c65c BAEL-7131 - updated based on review comments from Final Review. 2024-03-06 01:22:17 +01:00
adalagandev
c84563ff4d BAEL-7131 - fixed incomplete Assertion 2024-02-22 11:33:25 +01:00
adalagandev
9178b53dc9 BAEL-7131 - reapplied Baeldung Formatter, code changes from PR. 2024-02-21 11:10:39 +01:00
adalagandev
ed1e58c45e BAEL-7131 version 7 2024-02-20 15:08:05 +01:00
adalagandev
e6d37b867c BAEL-7131 version 6 - updated for PR comments, renamed unit test method, added assertJ dependency and used that in unit tests instead. 2024-02-20 00:11:06 +01:00
adalagandev
8a0d5939f1 BAEL-7131 version 5 - renamed class name to end with UnitTest 2024-02-12 10:12:12 +01:00
adalagandev
17172ba21a BAEL-7131 version 4 - code review comments. 2024-02-11 19:48:18 +01:00
adalagandev
94fceedf7c BAEL-7131 version 3 - code review comments. 2024-02-11 19:11:39 +01:00
adalagandev
8aea75fd05 BAEL-7131 version 2 - code review comments. 2024-02-10 23:44:42 +01:00
Ana Peterlic
52b14f539e Update import statement 2024-02-05 20:25:52 +01:00
Ana Peterlic
1899d70e91 Update ReadInputCharByCharUnitTest.java 2024-02-05 20:24:52 +01:00
Ana Peterlic
7ec4a9fd1d Update givenInputFromConsole_whenUsingScanner_thenReadCharByChar 2024-02-03 06:37:14 +01:00
adalagandev
b2e89f3574 BAEL-7131 version 1 - POST REPO re-writing the commit history issue. 2024-01-29 14:46:50 +01:00
Kai Yuan
9b6a2a0236 [fileWriter-flush-close] FileWriter flush() and close() (#15559) 2024-01-11 20:12:52 -06:00
MohamedHelmyKassab
d317cbf552 This commit is related to BAEL-6873 (#15579)
This commit aims to add a class "ReadInputCharByChar" that provides several approaches to read input char by char.
2024-01-10 15:24:01 -08:00
Michael Olayemi
f5ce4e6d86 PrintWriter vs FileWriter in Java (#15034)
* https://jira.baeldung.com/browse/BAEL-7117

* PrintWriter vs FileWriter in Java

* PrintWriter vs FileWriter in Java

* https://jira.baeldung.com/browse/BAEL-7117

* PrintWriter vs FileWriter in Java
2023-10-29 09:58:39 +05:30
Hangga Aji Sayekti
556002e8d1 EOF Detection | bazeniancode@gmail.com | Hangga Aji Sayekti (#14738)
* [Add] add from my experiment repo github.com/hangga/eof-detection

* [Update] reorder test

* [Update] add close()

* [Update] try with resource

* [update] be careful with typo
2023-09-19 18:23:41 +05:30
tienvn
1e05bb6e98 BAEL-6541-convert-relative-path 2023-08-03 17:59:49 +07:00
timis1
f2ab4c2aa8 JAVA-22516 Split or move core-java-io-apis-2 module (moved-1) (#14361)
* JAVA-22516 Split or move core-java-io-apis-2 module (moved-1)

* JAVA-22516 Adding back the file after fixing the conflicts

---------

Co-authored-by: timis1 <noreplay@yahoo.com>
2023-07-14 23:00:39 +05:30
timis1
615bd5c714 JAVA-22498 Potential issue in "Difference Between FileReader and BufferedReader in Java" 2023-06-29 22:35:10 +03:00
Azhwani
0238c2b948 BAEL-6465: How to handle NoSuchElementException when reading a file through a Scanner ? (#13999) 2023-05-28 11:06:59 +02:00
Azhwani
752b49ba02 BAEL-6461: What's the difference between Scanner next() and nextLine() methods? (#14057) 2023-05-24 17:26:01 +02:00
Kai Yuan
df15627edc [output-to-file] Write Console Output to Text File in Java (#14082)
* [output-to-file] Write Console Output to Text File in Java

* [output-to-file] rebase on the master
2023-05-23 16:56:31 -05:00
Kai Yuan
2ea83407d3 [scanner-with-spaces] how to take input as String with spaces in Java… (#14044)
* [scanner-with-spaces] how to take input as String with spaces in Java using Scanner?y

* [scanner-with-spaces] fix typo
2023-05-23 16:50:10 -05:00
Kai Yuan
a74f4ec8f5 [scanner-to-array] Saving Java Scanner Input to an Array (#13969) 2023-05-10 20:29:50 -05:00
Bahaa El-Din Helmy
53d269ca68 Add files via upload (#13978) 2023-05-08 14:11:33 -07:00
Arya
23ec3d24d2 Added the code for "The difference between BufferedReader and FileReader". (#13942) 2023-05-03 14:52:17 -07:00
Kai Yuan
d19a53c2d3 [BAEL-6363_nextInt-vs-nextLine] Integer.parseInt(scanner.nextLine()) vs scanner.nextInt() in Java (#13858) 2023-04-20 17:41:34 -05:00
ACHRAF TAITAI
e04c6f1ed3 relocate code from core-java-modules/java.nio packageto core-java-modules/core-java-io-apis-2. (#13614) 2023-03-11 19:47:58 +01:00
Kumar Prabhash Anand
c85e6ff506 BAEL-5765 - Updating scan a char unit tests (#12751)
* BAEL-5765 Adding scan a char unit tests

* BAEL-5765 updated class name as per the convention

* BAEL-5765 updated test cases naming strategy

* BAEL-5765 updated variable name
2022-09-23 09:45:58 -07:00
Kumar Prabhash Anand
a8f010e50e BAEL-5765 - Adding scan a char unit tests (#12741)
* BAEL-5765 Adding scan a char unit tests

* BAEL-5765 updated class name as per the convention

* BAEL-5765 updated test cases naming strategy
2022-09-20 12:52:25 -03:00
Mateusz Szablak
7e63494eb4 BAEL-5656 Constructing a Relative Path in Java from Two Absolute Paths or URLs (#12726) 2022-09-14 10:36:21 +05:30