File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes HTML, CSS and JavaScript and the fly likes Need ur suggestion for API Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "Need ur suggestion for API" Watch "Need ur suggestion for API" New topic

Need ur suggestion for API

manjiri pax

Joined: Jun 23, 2005
Posts: 6
hi ,
i am in the process of writing the API for my application

Description:I have log files which maintains the time information of my application like at what time, which component was loaded.(trail information).
The functions written for this log files should use my API .
Now my Application can run in standalone mode as well as it has embedded browser so it can run in that mode also.
My API should be able to support the decision of which mode,and which log files are getting used?for standalone mode the process of storing the time information is different from that of browser mode.

The log files contains functions like getenviornment()=for getting enviornment,isbrowser()=for getting is it correct browser,getresult()=for getting information form log files.
so i need your suggestion as what you think which functions i need to include in this API?
i have to write this API in javascript and html.

Eric Pascarello

Joined: Nov 08, 2001
Posts: 15385
JavaScript can not read files on a computer....
manjiri pax

Joined: Jun 23, 2005
Posts: 6
I am not reading or writing in the file using javascript .Log files are maintaining the information about the timestamps for perticular operation carried out eg. time at which webpage started loading,time at which perticular function started working(eg.alert etc) using javascript(timer function) and html.
My API should aid them in doing that.log functions collects the time information using javascript functions.
so what do u think which functions my API needs to aid these log file functions .Like function to check which mode?and accordingly use log file.
I agree. Here's the link:
subject: Need ur suggestion for API
It's not a secret anymore!