Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 

Repository files navigation

Java File Processing Project

This repository contains custom implementations for reading and processing files in Java, including phone number validation, user data extraction, and word frequency counting. These implementations utilize Java's core libraries without relying on external data processing frameworks.

Table of Contents

  1. Introduction
  2. Features
  3. Technologies Used
  4. Implemented Tasks

Introduction

In this project, we implement several common file processing tasks in Java, including:

  • Phone Number Processing: A module to validate and format phone numbers from input files.
  • User Data Extraction: A system for parsing and analyzing user-related data from structured files.
  • Word Frequency Counting: A utility to analyze text files and determine word occurrence frequency.

Features

  • Read and parse different file formats.
  • Process phone numbers and validate them.
  • Extract and analyze user data.
  • Convert and manipulate JSON data using Gson.
  • Count word frequency in text files.

Technologies Used

  • Java
  • File I/O (BufferedReader, FileReader, etc.)
  • Regular Expressions
  • Data Structures (HashMap, ArrayList, etc.)
  • Gson (for JSON parsing and serialization)

Implemented Tasks

1. Phone Number Processing

  • Purpose: Validate and format phone numbers from input files.
  • Features:
    • Recognizes various phone number formats.
    • Validates numbers based on predefined patterns.
    • Outputs valid numbers.

2. User Data Extraction

  • Purpose: Parse and analyze user-related data from structured files.
  • Features:
    • Extracts user details such as name and age.
    • Performs basic data validation and formatting.
    • Generates reports with structured user information in json.

3. Word Frequency Counting

  • Purpose: Analyze text files to determine word occurrence frequency.
  • Features:
    • Reads text input and tokenizes words.
    • Counts occurrences of each word.
    • Outputs sorted frequency statistics.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages