← Exit to Module 9: Advanced Core Features lessons
Module progress · 0%Lesson · 30 min
Module 9: Advanced Core Features
Lesson focusMini-Project: Log File Analyzer
Parse large log files, extract metrics, and output summaries using regex and NIO.2 streams.
01 · 15 minString Pool & Memory ManagementLocked02 · 12 minStringBuilder vs StringBufferLocked03 · 16 minFormatting & LocalizationLocked04 · 20 minRegular Expressions, Pattern & MatcherLocked05 · 18 minFile I/O with java.ioLocked06 · 18 minModern I/O with NIO.2Locked07 · 15 minSerialization BasicsLocked08 · 14 minOptional Usage PatternsLocked09 · 30 minMini-Project: Log File AnalyzerLocked
Stream the log file line-by-line with Files.lines, apply regex to capture timestamps, severity, and messages.
Aggregate metrics (counts per severity, top offenders) using collectors or custom data structures.
Export results as CSV/JSON and handle errors gracefully with custom exceptions.
Lesson quiz