Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

8
LINES

< > BotCompany Repo | #1000277 // "new File" test

JavaX source code - run with: x30.jar

!609 // classless operation
!592 // auto-importer

System.out.println(new File("javax", "/tmp").getPath());
System.out.println(new File("javax", "tmp").getPath());
System.out.println(new File("/tmp").isAbsolute());
System.out.println(new File("tmp").isAbsolute());
System.out.println(new File("../tmp").isAbsolute());

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

Comments [hide]

ID Author/Program Comment Date
588 #1000610 Edit suggestion:
!636
!629

main {
static Object androidContext;
static String programID;

public static void main(String[] args) throws Exception {
!609 // classless operation
!592 // auto-importer

System.out.println(new File("javax", "/tmp").getPath());
System.out.println(new File("javax", "tmp").getPath());
System.out.println(new File("/tmp").isAbsolute());
System.out.println(new File("tmp").isAbsolute());
System.out.println(new File("../tmp").isAbsolute());

}}
2015-08-18 22:57:40  delete 
586 #1000604 (pitcher) 2015-08-18 00:07:22

add comment

Snippet ID: #1000277
Snippet name: "new File" test
Eternal ID of this version: #1000277/1
Text MD5: a73d6132a568f826864d175210b23b3e
Author: stefan
Category: homepages
Type: JavaX source code
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-05-11 17:51:39
Source code size: 326 bytes / 8 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 827 / 731
Referenced in: [show references]