public static void setExternalStorageState(File directory, String state) {
    """
	Sets the {@link #getExternalStorageState(File)} for given directory.
	
	@param externalStorageState Value to return from {@link #getExternalStorageState(File)}.
    """
    storageState.put(directory.toPath(), state);
  }
public static void setExternalStorageState(File directory, String state) {
    storageState.put(directory.toPath(), state);
  }
public static void setExternalStorageState ( File directory , String state ) { storageState . put ( directory . toPath ( ) , state ) ; }
Sets the {@link #getExternalStorageState(File)} for given directory.

@param externalStorageState Value to return from {@link #getExternalStorageState(File)}.
Sets the { @link #getExternalStorageState ( File ) } for given directory .