xrma / crawler4j

Automatically exported from code.google.com/p/crawler4j
0 stars 0 forks source link

Skip writing files to disk #234

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I would like to emit crawled pages to other parts of my Java system on visit(), 
and skip storing them as files. What's the best way to do this? Can I just set 
the directory to /dev/null?

Original issue reported on code.google.com by apenneba...@42six.com on 9 Sep 2013 at 2:53

GoogleCodeExporter commented 9 years ago
For now, I'm using a temporary directory:

config.setCrawlStorageFolder(System.getProperty("java.io.tmpdir"));

Original comment by apenneba...@42six.com on 9 Sep 2013 at 6:21

GoogleCodeExporter commented 9 years ago
what is the purpose of this?

Original comment by jeger...@gmail.com on 17 Jun 2014 at 2:37

GoogleCodeExporter commented 9 years ago
Please explain your requirement.

What exactly do you want?

You have a java environment where you can't write files to disk ?

Original comment by avrah...@gmail.com on 17 Aug 2014 at 8:28

GoogleCodeExporter commented 9 years ago
No clarification of the problem.

Anyway, it seems that the place of this issue is in the forums

Original comment by avrah...@gmail.com on 25 Jan 2015 at 4:01