FileAttributeView views Flashcards

1
Q

is FileAttributeView and interface or class?

A

interface

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What attributes are defined by the BasicFileAttributeView?

A

lastModifiedTime, lastAccessTime, creationTime, size, isRegularFile, isDirectory, isSymbolicLink, isOther, fileKey.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Which view defines attribute lastModifiedTime?

A

BasicFileAttributeView

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Which view defines attribute lastAccessTime?

A

BasicFileAttributeView

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Which view defines attribute creationTime?

A

BasicFileAttributeView

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Which view defines attribute size?

A

BasicFileAttributeView

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Which view defines attribute isRegularFile?

A

BasicFileAttributeView

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Which view defines attribute isDirectory?

A

BasicFileAttributeView

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Which view defines attribute isSymbolicLink?

A

BasicFileAttributeView

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Which view defines attribute isOther?

A

BasicFileAttributeView

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Which view defines attribute fileKey?

A

BasicFileAttributeView

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What attributes are defined by the DosFileAttributeView?

A

readonly, hidden, system, and archive.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

Which view defines attribute readonly?

A

DosFileAttributeView

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Which view defines attribute hidden?

A

DosFileAttributeView

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Which view defines attribute system?

A

DosFileAttributeView

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

Which view defines attribute archive?

A

DosFileAttributeView

17
Q

What attributes are defined by the PosixFileAttributeView?

A

permissions, group

18
Q

Which view defines attribute permissions?

A

PosixFileAttributeView

19
Q

Which view defines attribute group?

A

PosixFileAttributeView

20
Q

What attributes are defined by the FileOwnerAttributeView?

A

owner

21
Q

Which view defines attribute owner?

A

FileOwnerAttributeView

22
Q

FileAttributeView is extended by which interfaces?

A

AclFileAttributeView, BasicFileAttributeView, DosFileAttributeView, FileOwnerAttributeView, PosixFileAttributeView, UserDefinedFileAttributeView

23
Q

Is AclFileAttributeView a subinterface of FileOwnerAttributeView?

A

Yes

24
Q

What are the two subinterfaces of BasicFileAttributeView?

A

DosFileAttributeView, PosixFileAttributeView

25
Q

What does POSIX stand for?

A

Portable Operating System Interface