Guest User

Untitled

a guest
Mar 28th, 2020
61
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. public static String loc_file() {//lokacja pliku conf
  2. URL location = SQL.class.getProtectionDomain().getCodeSource().getLocation();
  3. String file_loc = String.valueOf((location)).replace( "/","\\" ).replace("\\app\\Gra.jar","").replace("file:\\","").replace("\\out\\production\\Gra\\","").replace( "%20"," " );
  4. //file_loc = "C:\\Users\\ddykacz\\Desktop\\QUIZ\\Gra\\out\\artifacts\\Gra\\bundles\\Gra";
  5. return file_loc+"\\config\\"+file;
  6. }
RAW Paste Data