# Class: file_info

## file_info

#### new file_info()

Keeps track of the information for the currently displayed image and fetches the information via dirlists or from the URL.

Source:
  - file_info.js, line 11

### Methods

#### FetchImage()

Fetch next image.

Source:
  - file_info.js, line 306

#### GetAnnotationPath()

Gets annotation path

Source:
  - file_info.js, line 249

#### GetCollection()

Gets collection name

Source:
  - file_info.js, line 224

#### GetDirName()

Gets directory name

Source:
  - file_info.js, line 229

#### GetFullName()

Gets full image name

Source:
  - file_info.js, line 254

#### GetImagePath()

Gets image path

Source:
  - file_info.js, line 244

#### GetImName()

Gets image name

Source:
  - file_info.js, line 234

#### GetMode()

Gets mode

Source:
  - file_info.js, line 219

#### GetTemplatePath()

Gets template path

Source:
  - file_info.js, line 259

#### GetURLField()

String is assumed to have field=value form. Parses string to return the field.

Source:
  - file_info.js, line 270

#### GetURLValue()

String is assumed to have field=value form. Parses string to return the value.

Source:
  - file_info.js, line 277

#### ParseURL()

Parses the URL and gets the collection, directory, and filename information of the image to be annotated. Returns true if the URL has collection, directory, and filename information.

Source:
  - file_info.js, line 35

#### SetImName()

Sets image name

Source:
  - file_info.js, line 239

#### SetURL()

Changes current URL to include collection, directory, and image name information. Returns false.

Source:
  - file_info.js, line 284