Skip to content
Java mix blog

JavaMix

Java • AI • Architecture • Cloud

  • About
  • My Github
Java mix blog
JavaMix
Java • AI • Architecture • Cloud
  • Ant tool | J2EE | Java

    Ant tool for Java

    ByVijay Katta January 7, 2010

    what is ant tool ? 1) Ant is a java based build tool to automate build process. more clearly says … Ant is an open-source Java-based build tool from the Apache Software Foundation. It’s rapidly become the  build tool for J2EE projects, so for developers, it’s certainly worth becoming familiar with the basics of Ant,…

    Read More Ant tool for JavaContinue

  • Basics | File reading | J2se | Java

    Reading the data from the property file using Java

    ByVijay Katta January 5, 2010

    we are using property file to store some organized data, like database url and connection username etc., reading from this property file is easy and useful myproperties.properties  // my properties file name it`s contain name=katta vijay age=24 email=mail@javamix.net Main.java     // to read data from property file package javamixposts; import java.io.*; import java.util.*; /** * *…

    Read More Reading the data from the property file using JavaContinue

  • Java | Jsp | programs

    Read RSS feeds using JSP

    ByVijay Katta January 2, 2010

    <%@page contentType=”text/html”%> <%@page pageEncoding=”UTF-8″%> <!DOCTYPE HTML PUBLIC “-//W3C//DTD HTML 4.01 Transitional//EN” “http://www.w3.org/TR/html4/loose.dtd”> <%@page import=”java.net.URL”%> <%@page import=”javax.xml.parsers.DocumentBuilder”%> <%@page import=”javax.xml.parsers.DocumentBuilderFactory”%> <%@page import=” org.w3c.dom.CharacterData”%> <%@page import=” org.w3c.dom.Document”%> <%@page import=”org.w3c.dom.Element”%> <%@page import=”org.w3c.dom.Node”%> <%@page import=”org.w3c.dom.NodeList”%> <%@page import=”java.lang.*”%> <% String desc=null; try { DocumentBuilder builder = DocumentBuilderFactory.newInstance().newDocumentBuilder(); URL u = new URL(“http://feed43.com/eenadu.xml”);   // feed address Document doc = builder.parse(u.openStream()); String title;…

    Read More Read RSS feeds using JSPContinue

  • J2se | programs | Rss feeds

    Read RSS feeds by Using Java

    ByVijay Katta January 2, 2010

    /* * To change this template, choose Tools | Templates * and open the template in the editor. */ /** * * @author vijay * */ import java.net.URL; import javax.xml.parsers.DocumentBuilder; import javax.xml.parsers.DocumentBuilderFactory; import org.w3c.dom.CharacterData; import org.w3c.dom.Document; import org.w3c.dom.Element; import org.w3c.dom.Node; import org.w3c.dom.NodeList; public class RSSReader { private static RSSReader instance = null; private RSSReader() {…

    Read More Read RSS feeds by Using JavaContinue

  • Apache POI | API | Basics | File reading | J2se | programs

    Reading data from the .Doc file by using Apache POI api

    ByVijay Katta January 2, 2010

    this program simply explains how to read data from the MS wordfile(.DOC) line by line using Apache POI, what is Apache POI and what is the need i already explain in previous post, you can find that post here for executing this program we need to download Apache POI api and make jar files  in…

    Read More Reading data from the .Doc file by using Apache POI apiContinue

  • Apache POI | API | Basics

    Apache POI api for Java people

    ByVijay Katta January 2, 2010

    …it is one of the great tool from the Apache, 1st of all i want to write about what is POI?,why we need POI?. what is POI? "Poor Obfuscation Implementation" why we need POI? reading and writing files in Microsoft Office formats, such as Word, PowerPoint and Excel using Java. when i was trying to…

    Read More Apache POI api for Java peopleContinue

  • API | JExcel API | programs

    Inserting data into excel sheet using JExcel API

    ByVijay Katta January 2, 2010

    before going to use this post My strong advice to see this post first.     /* by using this program iam trying to insert data to the Excel sheet */ /* * To change this template, choose Tools | Templates * and open the template in the editor. */ package excelsheetreading; /** * *…

    Read More Inserting data into excel sheet using JExcel APIContinue

  • Basics | J2se | Java

    Escape Characters in Java

    ByVijay Katta January 2, 2010

    n New line t Tab b Backspace r Carriage return f Formfeed \ Backslash ‘ Single quotation mark " Double quotation mark d Octal xd Hexadecimal ud Unicode character

    Read More Escape Characters in JavaContinue

  • J2se | Java | programs | System program's

    Finding system information/environment using Java

    ByVijay Katta January 2, 2010

    /* * To change this template, choose Tools | Templates * and open the template in the editor. */ package keyboardreader; // my package /** * * @author vijay * http://javamix.wordpress.com */ import java.util.*; import javax.swing.*; import java.awt.*; public class SystemEnvironmentlook { private final static JTextArea output = new JTextArea(); public static void main( String…

    Read More Finding system information/environment using JavaContinue

  • Basics | J2se | Java | programs | System program's

    Converting system date to required format

    ByVijay Katta January 2, 2010

    package automatedsms; // my package name /** * * @author katta vijay */ import java.util.Calendar; import java.text.SimpleDateFormat; public class DateUtils { public static String now(String dateFormat) { Calendar cal = Calendar.getInstance(); SimpleDateFormat sdf = new SimpleDateFormat(dateFormat); return sdf.format(cal.getTime()); } public static void main(String arg[]) { // different date formats System.out.println(DateUtils.now(“dd MMMMM yyyy”));   // calling now…

    Read More Converting system date to required formatContinue

Page navigation

Previous PagePrevious 1 2 3 4 5 Next PageNext

© 2026 JavaMix

  • About
  • My Github