public static <T extends File> T createFile(final SecurityContext securityContext, final byte[] fileData, final String contentType, final Class<T> t)
		throws FrameworkException, IOException {

		return createFile(securityContext, fileData, contentType, t, null, true);

	}
public static < T extends File > T createFile ( final SecurityContext securityContext , final byte [ ] fileData , final String contentType , final Class < T > t ) throws FrameworkException , IOException { return createFile ( securityContext , fileData , contentType , t , null , true ) ; }
Create a new file node from the given byte array

@param <T>
@param securityContext
@param fileData
@param contentType
@param t defaults to File.class if null
@return file
@throws FrameworkException
@throws IOException