How to take all images from website [duplicate] - java

This question already has answers here:
Closed 12 years ago.
Possible Duplicates:
How to programmatically download image from website ?
Download all images from a single directory of a website
I like to take all images from given Url and also from sub URL like wwebpage crawling.

I think you can use this WebReaper. There could be many alternatives to this software. I just showed here one.

Related

Store files by SHA (like Git) in Java [duplicate]

This question already has answers here:
Java: How to create SHA-1 for a file?
(3 answers)
Closed 5 years ago.
I need to make a file storage where files will be addressed by theirs SHA-1. I know Git uses such approach.
Do you know exists Java implementation of this approach? Or correct name of such storage for searching in Google.
This approch is named Content Addressable Storage.

How to retrieve contents on a web page using Java [duplicate]

This question already has answers here:
Using Java to pull data from a webpage?
(5 answers)
Closed 5 years ago.
Can anyone suggest me a way to retrieve contents on a web page page using java?
I need to redirect to a web page, expand a block, and copy certain strings under it. Now I need to feed part of that string into another text box on a different page. How can this be done using java?
You should use Selenium (http://www.seleniumhq.org/). You can look up a tutorial on how to properly implement it for pulling data from websites. Assuming this is your own website, however, you can use a Socket.IO connection to communicate data.
Have you looked at Jsoup? https://jsoup.org/ it is a nice library for getting documents, parsing, etc.

How to use screen as input in Java [duplicate]

This question already has answers here:
Is there a way to take a screenshot using Java and save it to some sort of image?
(8 answers)
How to take a screenshot in Java? [duplicate]
(2 answers)
Closed 8 years ago.
I want to be able get an image or bufferedImage of my current screen in my java program. Is this possible? Thanks in advance!
Do you want to use the current screenshot in your Java application? First write code to capture the screenshot and then use it in the application.
I found this tutorial useful:
https://www.daniweb.com/software-development/java/code/216988/java-code-to-capture-your-screen-as-image

How to export text into pdf in Java, Android? [duplicate]

This question already has an answer here:
Closed 11 years ago.
Possible Duplicate:
How to create pdf files on android
I need to create app for exporting text into pdf file. But I don't know how to do it, because I never used it ever. Help me please, give me an example for this task or link for tutorial.
Some libraries in java to acheive this
http://pdfbox.apache.org/
http://itextpdf.com/

making web browser [duplicate]

This question already has answers here:
Closed 11 years ago.
Possible Duplicate:
Using java to create a web browser
Is there any way to make a webbrower using java?.
if yes pls give the idea about it.
Of course you can make a webbrowser by using java.
You would have to parse the html content of the pages you request.
If you're not interested in creating your own browser, here is a link how to display simple html files.

Categories

Resources