| 
				 public static
				string
				
				 | 
			#
			getExt( string $file )
				
Gets the extension of a file name 
				
Gets the extension of a file name Parameters
						$filestring- $file The file nameReturns
						string- The file extension
 Since
							11.1
 | 
		
			| 
				 public static
				string
				
				 | 
			#
			stripExt( string $file )
				
Strips the last extension off of a file name 
				
Strips the last extension off of a file name Parameters
						$filestring- $file The file nameReturns
						string- The file name without the extension
 Since
							11.1
 | 
		
			| 
				 public static
				string
				
				 | 
			#
			makeSafe( string $file )
				
Makes file name safe to use 
				
Makes file name safe to use Parameters
						$filestring- $file The name of the file [not full path]Returns
						string- The sanitised string
 Since
							11.1
 | 
		
			| 
				 public static
				boolean
				
				 | 
			#
			copy( string $src, string $dest, string $path = null, boolean $use_streams = false )
				
Copies a file Parameters
						$srcstring- $src The path to the source file$deststring- $dest The path to the destination file$pathstring- $path An optional base path to prefix to the file names$use_streamsboolean- $use_streams True to use streamsReturns
						boolean- True on success
 Since
							11.1
 | 
		
			| 
				 public static
				boolean
				
				 | 
			#
			delete( mixed $file )
				
Delete a file or array of files 
				
Delete a file or array of files Parameters
						$filemixed- $file The file name or an array of file namesReturns
						boolean- True on success
 Since
							11.1
 | 
		
			| 
				 public static
				boolean
				
				 | 
			#
			move( string $src, string $dest, string $path = '', boolean $use_streams = false )
				
Moves a file Parameters
						$srcstring- $src The path to the source file$deststring- $dest The path to the destination file$pathstring- $path An optional base path to prefix to the file names$use_streamsboolean- $use_streams True to use streamsReturns
						boolean- True on success
 Since
							11.1
 | 
		
			| 
				 public static
				mixed
				
				 | 
			#
			read( string $filename, boolean $incpath = false, integer $amount = 0, integer $chunksize = 8192, integer $offset = 0 )
				
Read the contents of a file 
				
Read the contents of a file Deprecated
							13.3 (Platform) & 4.0 (CMS) - Use the native file_get_contents() instead.
 Parameters
						$filenamestring- $filename The full file path$incpathboolean- $incpath Use include path$amountinteger- $amount Amount of file to read$chunksizeinteger- $chunksize Size of chunks to read$offsetinteger- $offset Offset of the fileReturns
						mixed- Returns file contents or boolean False if failed
 Since
							11.1
 | 
		
			| 
				 public static
				boolean
				
				 | 
			#
			write( string $file, string $buffer, boolean $use_streams = false )
				
Write contents to a file Parameters
						$filestring- $file The full file path$bufferstring- $buffer The buffer to write$use_streamsboolean- $use_streams Use streamsReturns
						boolean- True on success
 Since
							11.1
 | 
		
			| 
				 public static
				boolean
				
				 | 
			#
			append( string $file, string $buffer, boolean $use_streams = false )
				
Append contents to a file 
				
Append contents to a file Parameters
						$filestring- $file The full file path$bufferstring- $buffer The buffer to write$use_streamsboolean- $use_streams Use streamsReturns
						boolean- True on success
 Since
							3.6.0
 | 
		
			| 
				 public static
				boolean
				
				 | 
			#
			upload( string $src, string $dest, boolean $use_streams = false, boolean $allow_unsafe = false, boolean $safeFileOptions = array() )
				
Moves an uploaded file to a destination folder 
				
Moves an uploaded file to a destination folder Parameters
						$srcstring- $src The name of the php (temporary) uploaded file$deststring- $dest The path (including filename) to move the uploaded file to$use_streamsboolean- $use_streams True to use streams$allow_unsafeboolean- $allow_unsafe Allow the upload of unsafe files$safeFileOptionsboolean- $safeFileOptions Options to JFilterInput::isSafeFileReturns
						boolean- True on success
 Since
							11.1
 | 
		
			| 
				 public static
				boolean
				
				 | 
			#
			exists( string $file )
				
Wrapper for the standard file_exists function 
				
Wrapper for the standard file_exists function Parameters
						$filestring- $file File pathReturns
						boolean- True if path is a file
 Since
							11.1
 | 
		
			| 
				 public static
				string
				
				 | 
			#
			getName( string $file )
				
Returns the name, without any path. 
				
Returns the name, without any path. Deprecated
							13.3 (Platform) & 4.0 (CMS) - Use basename() instead.
 Parameters
						$filestring- $file File pathReturns
						string- filename
 Since
							11.1
 |