Home Answers Viewqa Java-Beginners create folders and sub folders based on excel data

 
 


Mallesham
create folders and sub folders based on excel data
0 Answer(s)      2 years and 2 months ago
Posted in : Java Beginners

Hi,
i have a requirement that , read the data from excel sheet and based on that data i need to create folders and subfolders.
here the excel sheet looks like this:

**Parent_folder   Sub_Folder1        Sub_Folder2**

        Bank    Department  Banking
                            Insurance

                 months     Jan
                            Feb

        Test     Types      Savings
                            Current
form this excel sheet how can i read the data line by line and based on that how can i create folder structure same as the excel sheet?
if excel sheet have the all column values i will do this through POI jar, but here 1st row i have all values so i can achieve this easily, but for next 2 sub folders, the parent folder is same, so the parent column is null but i need to take the Bank value only.

so how can i achieve this through java code.

any help in this would be highly appreciated.

thankas in advance
View Answers









Related Pages:
create folders and sub folders based on excel data
create folders and sub folders based on excel data  Hi, i have a requirement that , read the data from excel sheet and based on that data i need to create folders and subfolders. here the excel sheet looks like
code for serching files and folders
code for serching files and folders  i want to create a code in java in which i can search any file or folder present on my local machine... and location...and one more thing we have to create new thread for each file
Error in reading Excel data using jsp even having .xls and POI Library in respective folders
Error in reading Excel data using jsp even having .xls and POI Library in respective folders  Hi, hello.xls and POI library files are there in respective folders. the printStackTrce() method shows the following Error message
Java sdk/java poi hssf code to creat excel with folder structure,( i,e folders, subfolders and childrens )
Java sdk/java poi hssf code to creat excel with folder structure,( i,e folders, subfolders and childrens )   I need to create a folder structure... to create a folder structure in the excel file . To be precise, am working
sorting folders automatically
sorting folders automatically  i want to sort folders automatically,let say the folders to be displayed in a webpage(hyperlinked to its resource).the page should display only the folder that belongs to last 15 days.it should
how to hide and unhide folders in java
how to hide and unhide folders in java   i want to hide folder along with its contents and unhide later
java program to take backup for the folders
java program to take backup for the folders  java program to take backup for the folders   Have a look at the following link: Java Copy one folder to another
Zip Folder Using Java
and sub folders of a folder just to take less space. To do so we create two...; In this example we are going to create a zip folder and all files contained... is used to read stream of row bytes such as image data, for reading streams
Error in reading Excel data using jsp
Error in reading Excel data using jsp  ERROR while executing bellow...: drive?If not then create it.Anyways do you have POI library in the lib folder... and POI library files are there in respective folders. the printStackTrce
Directory Structure of Artifactory-1.2.2
Directory Structure of Artifactory-1.2.2       Here are the folders that are shipped...;/etc/artifactory folder?. data: Includes the derby database files
Sub Namespace
Declaring sub-namespace: We all are familiar with the directory structure or the tree of the file and folders, similarly we can get the nested or sub namespaces in PHP, this technique helps us to achieve more manageability. If you
java program to take the backup of folders and copy the folder in different location without deleting the existing one
java program to take the backup of folders and copy the folder in different location without deleting the existing one  java program to take the backup of folders and copy the folder in different location without deleting
Round Cube
Round Cube       Ajax based webmail client, has the basic functionality of the webmail (send mails, fwd, reply, folders, ...) Read full Description
Sub class of a previous java program
Sub class of a previous java program  Create a Faculty subclass of Employee which has the additional data of rank and expertise. Rank could be one... be a String such as ?Computer Science?, ?Music?, ?History? etc. Create a Staff subclass
how to display data in excel sheet?
how to display data in excel sheet?  According to the user Id,some... there will be a button called excel download,and if we click the button data will be displayed in excel sheet.can you people please help me how to create
jsp data in excel - JSP-Servlet
jsp data in excel  i have create jsp page which has button for excel.this calls jsp which contains code which has and then code for present data... and this query data has come from beans and using beans i put it in excel jsp in table
JPA Sub-Queries
JPA Sub-Queries       In this section, you will see how to use sub-queries in your JPA application. Sub-queries allows you for querying the vast number of data
Create Excel Sheet Using JSP
create excel sheet using jsp       In this example we create excel sheet and insert...;%@ page contentType="application/vnd.ms-excel" %> : Here, we insert the data
Java Util Zip. Zip files/folders inside a folder, without zipping the original source folder.
Java Util Zip. Zip files/folders inside a folder, without zipping the original source folder.   import java.io.File; import java.io.FileInputStream; import java.io.FileOutputStream; import java.util.zip.ZipEntry; import
how to create a jave version excel in jsp
how to create a jave version excel in jsp  I would like to create a java version excel in JSP. so the excel like document can be published... to save the data. questions: 1 can any body share some code samples
Inserting data in Excel File - Java Beginners
Inserting data in Excel File  Dear Sir, How can we fill the excel with fetched data from the database like Oracle, DB2? Is it possible to create an excel with filled data? Kindly give me the solutions to questions
displaying data based on criteria from 2 tables having same type of data - Java Beginners
displaying data based on criteria from 2 tables having same type of data .... it enables me to enter the ID of the parents. 2. based on the ID of parents I will know... used jsp. Try the following code: 1)enter.jsp: function info(sub
How to Create New Excel Sheet Using JSP
How to create new excel sheet using jsp  ... a new  excel sheet using java .You can create any number of  new excel sheets in a excel file.  To create a excel sheet we can use third party APIs
Create Excel Sheet Using JSP
create excel sheet using jsp       In this program, we are going to create the cells and rows into excel sheet using java .You can create any number of cells and rows
excel
excel  how to save excel sheet data into the database using poi api...("Data is inserted"); stat.close(); con.close(); } catch(Exception e...+"')"); System.out.println("Data is inserted"); stat.close
Printing data into Excel sheet - Java Beginners
Printing data into Excel sheet  Hi all i am writing one application where there is need to bring the data into "Excel Sheet" with proper format.My... database then showing it(data) to in "Excel Sheet" is it possible to do ? if yes
reading data from excel file and plotting graph
the data in excel file, i have to plot graphs based on CELL ID selected. please help...reading data from excel file and plotting graph  I am doing a project... that reads an excel file using POI api and using the data of excel file
How to Create Excel Page Using JSP
how to create excel page using jsp       In this program, we are going to create an excel... using pure word files using Java. We can create, read or write MS Excel file using
VB and excel - Development process
VB and excel  Hello sir, I want to create an excel sheet in VB 6.0 and get the data from Excel to MS-Access and set the macro in MS-Access for the Excel sheet data. Data contain in Excel Sheet to display in MS-Access and set
insert excel value in to oracle data base
the data from the excel file using JDBC. For this you need to create dsn...insert excel value in to oracle data base  Hi All I am using... Driver do Microsoft Excel driver. Click finish button 3)Add Data Source Name
connection of java file to excel file and put data from excel file into oracle db
connection of java file to excel file and put data from excel file into oracle db  how to create button on excel sheet using java swing and how we... as wellas to oracle db to insert excel data into database
Jsp to Excel
Jsp to Excel          In this section you will learn how to create an excel file and write data into it using jsp. For this, you have to import
How to import data from sql server table into an excel file by creating the rows dynamically in the excel according to the dataabase??
How to import data from sql server table into an excel file by creating... data from sql server table into an excel file by creating the rows dynamically... to create an excel file according to that and keep updating the same
connect jdbc to an Excel spreadsheet
Excel Driver(*.xls) Select work book or excel file and Create the DSN name (e.g...connect jdbc to an Excel spreadsheet  hello, How can I connect to an Excel spreadsheet file using jdbc?   Hello Friend, Follow
Create Excel(.xlsx) document using Apache POI
Create Excel(.xlsx) document using Apache POI In this section, you will learn how to create a Excel sheet having .xlsx extension using Apache POI library. In the given below example, we will going to create excel document having one
Set Data Format in Excel Using POI 3.0
Set Data Format in Excel Using POI 3.0       In this program we are setting data format in excel... various file formats based upon Microsoft's OLE 2 Compound Document format using
Export data in excel sheet via Browse and upload button into mysql database
Export data in excel sheet via Browse and upload button into mysql database  how to create a Browse & Upload Buttons and then save the information from it in mysql database's Table Am using struts2,hibernate for making
save data in excel
save data in excel  hello sir, i'm new to this field i want to know can i save data in excel by html forms input,means if any one fill up form online then it is save offline in excel how can i do it can you give me solution sir
save data in excel
save data in excel  hello sir, i'm new to this field i want to know can i save data in excel by html forms input,means if any one fill up form online then it is save offline in excel how can i do it can you give me solution sir
Built in Data Format in Excel Using POI 3.0
Built in Data Format in Excel Using POI 3.0  ... in format for formatting our data in excel sheet.  POI version 3.0 provides the a new feature for manipulating various file formats based upon Microsoft's
Retrieve Data from the database and write into excel file
Retrieve Data from the database and write into excel file. In this section, we are going to retrieve data from the database and write into the excel file... class create the cell in the excel sheet. With the use of setCellValue() method
How to get sub category based on category from database using jsp and javascript.
How to get sub category based on category from database using jsp and javascript.  How to get sub category based on category from database using jsp and javascript
EJB based application
EJB based application  Project description The project has two... GUI This component must consist of a data capture screen that provides the facility to create, update and delete customer information. The customer information
Excel file Handling in Java
://www.roseindia.net/tutorial/java/poi/readExcelFile.html   Now to create an excel file or to add data to excel file, here is a code. import java.io.*; import...Excel file Handling in Java  Hello Sir, I am new to Java, I have
read data from Excel sheet
read data from Excel sheet  Hi, How to read data from an excel sheet using JSP. Thank you
date_sub
  date_sub date_sub alias DateTime::sub functions for subtracting.... It returns the modified DateTime. Description of PHP Date Sub Function public DateTime DateTime::sub ( DateInterval $interval ) DateTime date_sub
create
create  how to create an excel file using java
Sub-Editor for Java Magazine
Sub-Editor for Java Magazine   ... for the role of Sub-Editor in our rapidly growing, newly launched e-magazine http://www.javajazzup.com, especially based on Java articles and news. We
Tree in Flex
explorer feature of window. It helps us to explore the folders without moving inside to each folder, we can see the list of folders and files of each folder... it does not contain any files or folders) or branch (i.e. it has files and folders
Open Source Excel
charts every time they request new data. All Excel and Word Features - Pivots... that are based on Microsoft's OLE 2 Compound Document format.   Excel Users... vice president of marketing. "But tons of people use Excel for data analysis