ClassLoader cl = ClassLoader.getSystemClassLoader();
URL[] urls = ((URLClassLoader)cl).getURLs();
for(URL url: urls){
System.out.println(url.getFile());
}
writer.write(String.valueOf(maxLength));
spring.datasource.platform=postgres
. <T> void genericMethod(T argument) {
// argument extends object
System.out.println(argument);
}
<T extends SomeType> void someMethod(T argument) {
System.out.println(argument);
}
abstract class SomeType implements SomeInterface {
}
interface SomeInterface {
//TODO :: some methods
}