@Deprecated public final class CheckSezpoz extends Object
Modifier and Type | Field and Description |
---|---|
static String |
FILE_NAME
Deprecated.
|
static boolean |
verbose
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
static boolean |
check(boolean checkJars)
Deprecated.
|
static boolean |
check(File file)
Deprecated.
|
static boolean |
checkDirectory(File classes)
Deprecated.
|
static boolean |
checkDirectory(File classes,
File source,
long youngerThan)
Deprecated.
|
static void |
checkJar(File file)
Deprecated.
|
static boolean |
fix(File classes,
File sources)
Deprecated.
|
static void |
writeXMLFile(Document xml,
File file)
Deprecated.
|
@Deprecated public static boolean verbose
@Deprecated public static final String FILE_NAME
@Deprecated public static boolean check(boolean checkJars) throws IOException
checkJars
- whether to inspect .jar components of the CLASSPATHIOException
EclipseHelper
@Deprecated public static boolean check(File file) throws IOException
file
- the CLASSPATH component (.jar file or directory)IOException
EclipseHelper
@Deprecated public static boolean checkDirectory(File classes) throws IOException
classes
- the CLASSPATH component directoryIOException
EclipseHelper
@Deprecated public static boolean checkDirectory(File classes, File source, long youngerThan) throws IOException
This method looks whether there are any .class
files older than
their corresponding .java
files, or whether there are
.class
files that were generated since last time we checked.
classes
- the classes/
directory where Maven puts the
.class
filessource
- the src/main/java/
directory where Maven expects the
.java
filesyoungerThan
- the date/time when we last checkedIOException
EclipseHelper
@Deprecated public static void checkJar(File file) throws IOException
.jar
file for stale annotations.
This method is broken at the moment since there is no good way to verify
that SezPoz ran before the .jar
file was packaged.
file
- the .jar
fileIOException
EclipseHelper
@Deprecated public static boolean fix(File classes, File sources)
META-INF/annotations/
directory.classes
- the output directorysources
- the directory containing the source filesMETA-INF/annotations/*
changedEclipseHelper
@Deprecated public static void writeXMLFile(Document xml, File file) throws TransformerException
.xml
file.xml
- the DOMfile
- the file to writeTransformerException
Copyright © 2015–2022 SciJava. All rights reserved.