Class GeoGebraDetector

java.lang.Object
org.apache.tika.detect.zip.GeoGebraDetector
All Implemented Interfaces:
Serializable, ZipContainerDetector

public class GeoGebraDetector extends Object implements ZipContainerDetector
Detects the zip-based GeoGebra formats by their well-known entry names:
  • geogebra.xml at the root → a worksheet (*.ggb)
  • structure.json at the root plus at least one _slide<N>/geogebra.xml → GeoGebra Notes/Slides (*.ggs)
  • geogebra_macro.xml at the root → a tool (*.ggt)
A worksheet with macros contains both geogebra.xml and geogebra_macro.xml, so the worksheet check takes precedence over the tool check, and the decision is only made once all entry names have been seen.
See Also: