What does abstract path means in java.io?

后端 未结 3 1101
你的背包
你的背包 2021-02-06 01:12

In java doc about

File#getPath()

writes:

 Converts this abstract pathname into a pathname string.

I try to w

3条回答
  •  一生所求
    2021-02-06 02:00

    The abstract pathname is just the string form of the file/location held in the File object.

    If you check the javadoc of File#toString():

    Returns the pathname string of this abstract pathname. This is just the string returned by the getPath() method.

提交回复
热议问题