Class AbstractLibrary
- java.lang.Object
-
- com.github.weisj.darklaf.platform.AbstractLibrary
-
public abstract class AbstractLibrary extends Object
-
-
Constructor Summary
Constructors Constructor Description AbstractLibrary(String path, String libraryName)AbstractLibrary(String path, String libraryName, Logger logger)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract booleancanLoad()protected voiderror(String message, Throwable e)StringgetLibraryName()StringgetLibraryPath()protected StringgetPath()protected voidinfo(String message)booleanisLoaded()voidupdateLibrary()Load the decorations-library if necessary.protected voidwarning(String message)
-
-
-
Field Detail
-
logger
protected final Logger logger
-
-
Method Detail
-
updateLibrary
public void updateLibrary()
Load the decorations-library if necessary.
-
getLibraryPath
public String getLibraryPath()
-
getPath
protected String getPath()
-
getLibraryName
public String getLibraryName()
-
canLoad
protected abstract boolean canLoad()
-
isLoaded
public boolean isLoaded()
-
info
protected void info(String message)
-
warning
protected void warning(String message)
-
-