You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am with you all the way up to the very last yaml file :) Presumably the dropwizard Configuration class provides methods to read properties set in the yaml file? Looks like you add some annotations and getters/setters for your property to the ExtruderConfiguration class and then set them as such:
Can you confirm or deny a couple Dropwizard / Java things for me?
I am trying to fix this issue:
https://github.com/straup/dogeared-extruder/issues/4
Which basically means setting a value here, in the BodyContentHandler constructor:
https://github.com/straup/dogeared-extruder/blob/master/src/main/java/info/aaronland/extruder/TikaResource.java#L154
Which I think means I need to pass "ExtruderConfiguration conf" to the TikaResource constructor here:
https://github.com/straup/dogeared-extruder/blob/master/src/main/java/info/aaronland/extruder/ExtruderService.java#L24-L33
Which I am pretty sure is this:
https://github.com/straup/dogeared-extruder/blob/master/src/main/java/info/aaronland/extruder/ExtruderConfiguration.java
Which I am less sure is this:
https://github.com/straup/dogeared-extruder/blob/master/configuration.yml
Does that sound about right? Because I only ever write Java with 8 month breaks in between I am never entirely confident of my hunches and because Java is full of debugging quicksand I am always a bit nervous to disturb a thing that already works...
See also:
http://stackoverflow.com/questions/6144708/apache-tika-and-character-limit-when-parsing-documents
Where do config flags go anyway?
The text was updated successfully, but these errors were encountered: