I asked lately how i can access the meta data of a odt file and the most recomended way to do this was using the apache tika library.
I tried finding out how i can use this Libraries in Detail.
Reading through all this stuff I find that this tika service is pretty hard (at least for someone that is new to Programming like me)
So my question is if maybe someone has a link to a side where there is like a step by step tutorial on how to use it or maybe as a different method to do this. I realy dont want you to do my work but i am working so long on this now and did not get this far so i think its time to ask for help here. :(
I want to acces and set only one property of my file which is the "DocumentID".
Thank you for helping and sorry for my maybe bad english but it is not my foreign language.
Related
I'm a liferay beginner and I've been at it for weeks now, but still I'm finding liferay a little hard to use...... especially because of the constraints I'm faced with,, If it's possible can you lend me some of your opinion on my situation?,,,,, to make the story short here it is
I need to make forms using dynamic data list(DDL) first....
After I made the whole site, I'd need to import data into it.. of course those data would have to be viewed using the pre-made DDLs.... this is my problem...
I mean it's really easy to make forms using DDL,,, but after that I need to still make the migrated information viewable and editable in those DDL's
What do you think the right steps should be,, please enlighten me... :(
oh aside from that, I made the DDLs in WCM,,,, how do I approach this problem of mine,, please help
PS the migration I did in eclipse using service builder,,, but the DDLs on the WCM.....
I'm a newbie on java and I have a project for my class. I need to upload or download ( need both ) a .txt file when a button is pressed. The file should be uploaded and downloaded online. I can do this with anything that help me do this , it just need to work. I don't have any knowledge about ftp's etc. What I'm supposed to study?
Have a look at Java Servlets if no frameworks in use.
Here is a simple example
http://www.codejava.net/java-ee/servlet/multipartconfig-annotation-examples
You need to have a basic Java Servlets understandings for this.
Your question is pretty vague but here some steps/ideas that could help you in your homework :
You wants to download a file you could maybe seek here :
(it's assuming that you were given some GET url by your teacher) Get method.
-After having 'getted' the data you could write them in a file in a specific localisation (hard coded in a final variable or asked or
given in params depending on your level of skill).
-You wants to upload a file, using the same classes as in the link for the GET method you could use a POST method with the data to
upload.
Sorry it's pretty vague but i hope it at least helped you.
I got stuck with one problem since a few months ago. Now I recall it and stand still get the same problem. I want to make JasperReports Server can print report without exporting to pdf format. And I also got some clues for that. To do so, we need to use JasperReport API. However, I don't really know how to use that library. Also as I searched, I can see only this link: http://community.jaspersoft.com/wiki/jasperreports-library-tutorial but it's not describable.
Is it the right API?
If it is my right, have you ever experienced with printer as mention above?
Do you have sample process, sample code, or configuration?
Please help me solve. Any ideas, or solutions are really appreciated
Sakura
Take a look at http://jasperreports.sourceforge.net/sample.reference/printservice/index.html.
Note the name of the printers are commented. You will need to change the name to suit your needs.
This question is not specifically related Git. I want to create a properties/configuration file in Java with groups (similar to .gitconfig). For example, I want to group the properties as follows
[group1]
prop1=value1
prop2=value2
[group2]
prop1=value1
prop3=value3
Instead of
group1.prop1=value1
group1.prop2=value2
group2.prop1=value1
group2.prop3=value3
I researched internet thoroughly but didn't find anything related to grouping of properties. May be I am not searching with right keywords. Excuse me if I may have missed something online.
Thanks
It is the same format used by the windows "ini" files.
There is a niche Java Library for that.
See: What is the easiest way to parse an INI file in Java?
alright, after a few hours of searching and reading all over the net, I have broken down and decided to ask for help. I am working to automate many of the more medial and repetitive tasks as work, and stumbled upon AutoIt, I love the tool. anyway, Today's task is the export of a slew of tables and queries from Access 2007 in a few different formats. mostly CSVs some Tab delimited, and a couple of dBase DBFs and DBTs. now none of this is all that difficult and in fact the person who previously held my position created about a hundred Macros in the mdb that export the tables. seems to me that he fell well short of hastening the process as you still have to run each macro. I am looking to create an autoit script that will export the correct tables in the correct format to the correct place with the correct name. doesn't seem like it should be that difficult.
so thus far I have been imagining using ADO to tell Access to export which table in which format and where. but I cannot seem to find the necessary commands needed to do that. I also figured that perhaps, at least with the text based formats (CSV, txt, tab) I could read each record out of a given table or query and then build the text file myself in autoit, not the simplest way of doing it, but it could work. The problem arises when trying to create the dBase file, I haven't a clue where to begin with that.
I am open to using JAVA, AutoIt, PHP, or Perl to accomplish my task.
I should note that I am fairly new to ADO. the syntax in ADO seems to elude me frequently. so, any and all help is appreciated, please refrain from the "Just google it" responses. if you have a link to share, or a resource that you have found helpful please post that as well, I am not allergic to reading or doing research. Sometimes it just makes more sense to ask for help.
Thanks,
Kyle
If you are open to using VBA, you could probably make it work with only a little code and the DoCmd-Object.
To export as CSV, have a look at DoCmd.Transfertext
To export to dBase, have a look at DoCmd.TransferDatabase
If you have questions about using those, just ask in the comments and I will provide more information.
This is a sort of bonkers idea, but if you already know Java, you may be able to get this to work with the JDBC-ODBC bridge. You'll first have to register your particular Access database as a named ODBC data source, as the bridge does not appear to support on-the-fly ODBC. I don't have a Windows machine on hand and don't remember the exact sequence of steps to do that, but it should be available from the ODBC driver manager.